Advisory Details

May 17th, 2023

(0Day) (Pwn2Own) Mikrotik RouterOS RADVD Out-Of-Bounds Write Remote Code Execution Vulnerability

ZDI-23-710
ZDI-CAN-19797

CVE ID CVE-2023-32154
CVSS SCORE 7.5, AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Mikrotik
AFFECTED PRODUCTS RouterOS
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Mikrotik RouterOS. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the Router Advertisement Daemon. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS

12/09/22 – ZDI reported the vulnerability to the vendor during Pwn2Own Toronto.

05/09/23 – ZDI asked for an update.

05/10/23 – The ZDI re-disclosed the report at the vendor’s request.

05/10/23 – The ZDI informed the vendor that the case will be published as a zero-day advisory on 05/17/23.

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application.


DISCLOSURE TIMELINE
  • 2022-12-29 - Vulnerability reported to vendor
  • 2023-05-17 - Coordinated public release of advisory
CREDIT Angelboy(@scwuaptx) and NiNi (@terrynini38514) from DEVCORE Research Team
BACK TO ADVISORIES