Syrian authorities have confirmed 14 security personnel were killed in an ambush allegedly carried out by Assad loyalists.