KABUL - Afghanistan's Taliban claimed responsibility on Saturday for an attack on a base which US officials said killed two American Marines, saying it was in response to a film that insults the Prophet Mohammad.

Camp Bastion, in southern Helmand province, came under mortar, rocket-propelled grenade and small arms fire late on Friday.

The assault also wounded several servicemen.

"The aim of this attack was revenge against Americans for the anti-Prophet movie," said Taliban spokesman Qari Yousuf.

US President Barack Obama has vowed to "stand fast" against violence which has been spreading since the amateurish film of obscure origin triggered an attack on the US consulate in the Libyan city of Benghazi that killed the ambassador and three other Americans on September 11.

Please LIKE our Facebook page - it makes us stronger