Skip to main content
ExploitedNot in CISA KEV yet

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?

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
  1. 2024-05-1415:17CVE publishedNVD
  2. 2024-08-0602:53Listed as exploited by GCVEGCVE
  3. 2024-08-0602:53Exploitation first reportedGCVE

Versions per branch

CISA-ADP
Cacti
BranchAffectedFixed in
1.3= 1.3.0no fix published

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.

  • cacti
    Affected
    • = = 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

Full record on NVD

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
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

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?

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.

Is CVE-2024-29895 actively exploited?

A proof-of-concept exploit exists for CVE-2024-29895, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-29895?

CVE-2024-29895 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

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

Sources for this record