CVE-2023-39362
In Cacti 1.2.24, under certain conditions, an authenticated privileged user, can use a malicious string in the SNMP options of a Device, performing command injection and obtaining remote code execution on the underlying server.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 85.4%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
Description
Cacti is an open source operational monitoring and fault management framework. In Cacti 1.2.24, under certain conditions, an authenticated privileged user, can use a malicious string in the SNMP options of a Device, performing command injection and obtaining remote code execution on the underlying server. The `lib/snmp.php` file has a set of functions, with similar behavior, that accept in input some variables and place them into an `exec` call without a proper escape or validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- CVSS 3.1
- 7.2 HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 85.45% probability · 100th percentile
- Public exploits
- 1 in Exploit-DB · first 9 October 2023
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-77
- Affected
- cacti/cacti · fedoraproject/fedora
- Source
- security-advisories@github.com
EPSS 85.4% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://packetstormsecurity.com/files/175029/Cacti-1.2.24-Command-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/Cacti/cacti/security/advisories/GHSA-g6ff-58cj-x3cpExploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00018.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/Mailing List
- https://www.debian.org/security/2023/dsa-5550
- http://packetstormsecurity.com/files/175029/Cacti-1.2.24-Command-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/Cacti/cacti/security/advisories/GHSA-g6ff-58cj-x3cpExploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00018.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/Mailing List
- https://www.debian.org/security/2023/dsa-5550
- https://www.vicarius.io/vsociety/posts/command-injection-in-cacti-cve-2023-39362
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.