{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-29895","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-03-21T15:12:08.998Z","datePublished":"2024-05-13T14:33:27.594Z","dateUpdated":"2024-08-02T01:17:58.192Z"},"containers":{"cna":{"title":"Cacti command injection in cmd_realtime.php","problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/Cacti/cacti/security/advisories/GHSA-cr28-x256-xf5m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-cr28-x256-xf5m"},{"name":"https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683d","tags":["x_refsource_MISC"],"url":"https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683d"},{"name":"https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fc","tags":["x_refsource_MISC"],"url":"https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fc"},{"name":"https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119","tags":["x_refsource_MISC"],"url":"https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119"}],"affected":[{"vendor":"Cacti","product":"cacti","versions":[{"version":"= 1.3.x DEV","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-05-13T14:33:27.594Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-cr28-x256-xf5m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-29895","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-13T17:31:11.680843Z"}}}],"affected":[{"cpes":["cpe:2.3:a:cacti:cacti:1.3.0:*:*:*:*:*:*:*"],"vendor":"cacti","product":"cacti","versions":[{"status":"affected","version":"1.3.0"}],"defaultStatus":"unknown"}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:56:45.934Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T01:17:58.192Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/Cacti/cacti/security/advisories/GHSA-cr28-x256-xf5m","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-cr28-x256-xf5m"},{"name":"https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683d","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683d"},{"name":"https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fc","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fc"},{"name":"https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119"}]}]}}