Advisory Details

February 8th, 2024

Wazuh Log Collector Integer Underflow Local Privilege Escalation Vulnerability

ZDI-24-097
ZDI-CAN-22015

CVE ID CVE-2023-42463
CVSS SCORE 7.4, AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Wazuh
AFFECTED PRODUCTS Wazuh
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Wazuh. Log Injection is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the processing of the multilines log format. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

ADDITIONAL DETAILS Wazuh has issued an update to correct this vulnerability. More details can be found at:
https://documentation.wazuh.com/current/release-notes/release-4-5-3.html
DISCLOSURE TIMELINE
  • 2023-09-14 - Vulnerability reported to vendor
  • 2024-02-08 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT Keith Yeo (@kyeojy)
BACK TO ADVISORIES