Taliban militants attacked key buildings near Afghanistan's presidential palace and the American CIA headquarters in Kabul - a brazen assault that could derail attempts for peace talks to end 12 years of war.