CVE-2024-29895
criticalpriority · attend · 45EPSS 0.988 · 100 %ileexploit · PoCEURUEPSS · scored 2026-10-28
Cacti provides an operational monitoring and fault management framework. A command injection vulnerability on the 1.3.x DEV branch allows any unauthenticated user to execute arbitrary command on the server when `register_argc_argv` option of PHP is `On`. In `cmd_realtime.php` line 119, the `$poller_id` used as part of the command execution is sourced from `$_SERVER['argv']`, which can be controlled by URL when `register_argc_argv` option of PHP is `On`. And this option is `On` by default in many environments such as the main PHP Docker image for PHP. Commit 53e8014d1f082034e0646edc6286cde3800c683d contains a patch for the issue, but this commit was reverted in commit 99633903cad0de5ace636249de16f77e57a3c8fc.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- secunnix/CVE-2024-29895Cacti CVE-2024-29895 POCPoC · poc_in_github
- ticofookfook/CVE-2024-29895.pyticofookfook/CVE-2024-29895.pyPoC · poc_in_github
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-29895/cnnvd
- https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119cnnvd
- https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683dcnnvd
- https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fccnnvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-cr28-x256-xf5mcnnvd
- https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119enisa_euvd
- https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683denisa_euvd
- https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fcenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan