An army general and two senior police officers are among the dead, a ministry of defence spokesperson told the BBC.
The Taliban, who have carried out frequent attacks in Kabul, claimed the blasts.
Deputy defence ministry spokesman Mohammad Radmanish told the Associated Press news agency that the suicide attacker struck as security forces gathered near the ministry to deal with the first blast.
More about: