Abu Dhabi National Oil Company (ADNOC) has confirmed one of its vessels was attacked while transiting the Strait of Hormuz on Friday evening.