CVE-2024-29895
Cacti command injection in cmd_realtime.php
Exploitation confirmed. First attested on 2024-08-06 by GCVE · kevintel, GCVE · shadowserver.
- Published2024-05-14
- WeaknessCWE-77
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-05-1415:17CVE publishedNVD
- 2024-08-0602:53Listed as exploited by GCVEGCVE
- 2024-08-0602:53Exploitation first reportedGCVE
Versions per branch
CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.3 | = 1.3.0 | no fix published | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- cactiAffected
- = = 1.3.x DEVno fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-05-13
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cactiUbuntu:Pro:22.04:LTSall versions · no fixed version listed
- cactiUbuntu:Pro:20.04:LTSall versions · no fixed version listed
- cactiUbuntu:Pro:18.04:LTSall versions · no fixed version listed
- cactiUbuntu:26.10all versions · no fixed version listed
- cactiUbuntu:26.04:LTSall versions · no fixed version listed
- cactiUbuntu:25.10all versions · no fixed version listed
- cactiUbuntu:24.04:LTSall versions · no fixed version listed
Fix
No fix published by the sources we read yet. NVD record
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-05-13
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01Stuub/CVE-2024-29895-CactiRCE-PoCsecunnix/CVE-2024-29895ticofookfook/CVE-2024-29895.py
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- GCVEexploitation2024-08-06
- CISA-ADPSSVC decisionpoc2024-05-13
- CNACVSS 3.110known since 2026-10-23
- CNAweakness (CWE)CWE-77known since 2026-10-23
- FIRST EPSSEPSS score98.8 %read 2026-11-09
- PoC-in-GitHubproof of concept3known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-09
- OSVaffected packages—
Identifiers
- EUVD-2024-26876same flawENISA EUVD · LicenseRef-ENISA-legal-notice
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Published
- 2024-05-14
- Last Modified
- 2026-06-17
- NVD status
- Deferred
Frequently asked questions
What is CVE-2024-29895?
Is CVE-2024-29895 actively exploited?
What is the CVSS score for CVE-2024-29895?
Running cacti? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0