Witnesses, though, placed the toll higher at 13 dead following the attack on Wednesday night in Maiduguri.
The witnesses said that dozens of attackers overpowered soldiers guarding the Dalori camp around 19:00 and fighting continued for two hours.
The National Emergency Management Agency said in a statement confirming the attack that eight people had died.
Militants from the Boko Haram Islamic extremist group frequently attack the area and are known for abducting women and girls. Camp officials said they feared some of the women unaccounted for after the attack had been kidnapped by the gunmen.
The group, whose insurgency began in Maiduguri, wants to establish strict Islamic rule.