Saudi authorities said two attackers perpetrated the killing which was the first attack on foreigners since 2005.