Advisory Details

January 31st, 2023

Cacti poll_for_data Command Injection Remote Code Execution Vulnerability

ZDI-23-093
ZDI-CAN-19046

CVE ID CVE-2022-46169
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Cacti
AFFECTED PRODUCTS Cacti
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cacti. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the poll_for_data function. 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 the service account.

ADDITIONAL DETAILS Cacti has issued an update to correct this vulnerability. More details can be found at:
https://github.com/Cacti/cacti/security/advisories/GHSA-6p93-p743-35gf
DISCLOSURE TIMELINE
  • 2022-11-25 - Vulnerability reported to vendor
  • 2023-01-31 - Coordinated public release of advisory
  • 2023-01-31 - Advisory Updated
CREDIT Steven Seeley (mr_me) of Source Incite
BACK TO ADVISORIES