Officials have warned that hundreds of thousands of displaced people are at risk because their shelters are weak and crowded.