CVE-2024-29895

CRITICAL EXPLOITED NUCLEI

Cacti 1.3.x DEV - Command Injection

Title source: llm

Description

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.

Exploits (6)

nomisec WORKING POC 23 stars
by Stuub · remote
https://github.com/Stuub/CVE-2024-29895-CactiRCE-PoC
nomisec WORKING POC 5 stars
by apaz-dev · poc
https://github.com/apaz-dev/CVE-2024-29895
nomisec WORKING POC 1 stars
by secunnix · remote
https://github.com/secunnix/CVE-2024-29895
nomisec WORKING POC
by ticofookfook · remote
https://github.com/ticofookfook/CVE-2024-29895.py
vulncheck_xdb WORKING POC
remote
https://github.com/Rubioo02/CVE-2024-29895
inthewild WORKING POC
poc
https://github.com/rubioo02/cve-2024-29895

Nuclei Templates (1)

Cacti cmd_realtime.php - Command Injection
CRITICALby pussycat0x
Shodan: http.favicon.hash:-1797138069
FOFA: icon_hash="-1797138069"

Scores

CVSS v3 10.0
EPSS 0.9322
EPSS Percentile 99.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Details

VulnCheck KEV 2024-08-06
CWE
CWE-77
Status published
Products (1)
Cacti/cacti = 1.3.x DEV
Published May 14, 2024
Tracked Since Feb 18, 2026