Egyptian security forces fired tear gas and exchanged gunfire with armed groups in the Kerdasah district on the outskirts of Cairo early on Thursday, state TV reported.