the attack underscored a worrying security picture as afghanistan prepares to take over from foreign combat troops after more than douze years of war against a taliban insurgency and prepares for a presidential election run off next month