|Scene of a recent Boko Haram attack|
Two helicopters and three decommissioned military aircraft were "incapacitated" in the attack, said a statement from Brig. Gen. Chris Olukolade, the Ministry of Defense spokesman. He said some army bases also were hit.
Twenty-four insurgents were killed and many were wounded along with two air force personnel, Olukolade said in a statement.
The state government quickly ordered everyone to stay home and extended a night-time curfew to 24 hours in Maiduguri, the city near the air base which is also the birthplace of the extremist Boko Haram movement.
The militants also attacked Maiduguri International Airport, the official said. Olukolade said flight operations were temporarily disrupted but have resumed. International flights to Maiduguri stopped months ago but domestic flights had continued.
Explosions and automatic gunfire could be heard across the northeastern city from around 2:30 a.m. when the insurgents launched the attack with screams of "Allahu akbar," or "God is great."
The fighting continued until about 7 a.m.
Government and military officials said scores of people may be dead. Reporters saw military ambulances ferrying bodies to the hospital morgue.
Civilians living around the military base, which is off a main road, said they saw bodies with slit throats and corpses of insurgents burning in vehicles.
Olukolade said security forces are pursuing the attackers and urged citizens to report any fleeing insurgents who could be identified by gunshot wounds.
The witnesses and officials spoke on condition of anonymity for security reasons.
The attack comes a week after the military bombarded forest hideouts of the Boko Haram terrorist network near the border with Cameroon with air strikes and ground assaults.
One military officer put the number of attackers at around 500. It was unclear how such a large convoy could move undetected at night in an area under curfew, though the insurgents have seized many military vehicles and arms at the scenes of other attacks and witnesses have said they sometimes wear the same military fatigues as the Nigerian army.
President Goodluck Jonathan imposed a state of emergency in May in three states, acknowledging the insurgents had seized control of many towns and villages, and flooded the area with security forces. The military quickly forced the militants out of urban centers but have appeared unable to halt attacks on soft targets like schools, remote villages and major highways where they set up impromptu roadblocks.
Last week, army spokesmen said troops are increasing security and deploying to border villages amid fears of attacks over the Christmas holidays and that the insurgency has spread to neighboring Niger, Cameroon and Chad. Boko Haram militants have claimed last month's kidnapping of a French priest in northern Cameroon, who had given refuge to Nigerian Christian refugees from the insurgency.
Hundreds of residents have fled Maiduguri, capital of Borno state, according to witnesses. Residents at the Borno state border with Adamawa state said more than 1,000 people, mainly women children and the elderly, are at the state border where they appear to feel safer.