Advisory Details

February 9th, 2023

(Pwn2Own) Ubiquiti Networks EdgeOS dhcp6c Command Injection Remote Code Execution Vulnerability

ZDI-23-107
ZDI-CAN-19687

CVE ID CVE-2023-23912
CVSS SCORE 7.5, AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Ubiquiti Networks
AFFECTED PRODUCTS EdgeOS
VULNERABILITY DETAILS

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

The specific flaw exists within the dhcp6c daemon. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS Ubiquiti Networks has issued an update to correct this vulnerability. More details can be found at:
https://community.ui.com/releases/Security-Advisory-Bulletin-028-028/696e4e3b-718c-4da4-9a21-965a85633b5f
DISCLOSURE TIMELINE
  • 2022-12-22 - Vulnerability reported to vendor
  • 2023-02-09 - Coordinated public release of advisory
CREDIT NCC Group EDG (@alexjplaskett @saidelike @FidgetingBits @_mccaulay)
BACK TO ADVISORIES