Prisoners endure appalling conditions