CVE-2023-39362
Authenticated command injection in SNMP options of a Device
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/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
Cacti · cactipublic PoCs found — 4
githubgithub.com/jakabakos/CVE-2023-39362-cacti-snmp-command-injection-poc★ 2githubgithub.com/m3ssap0/cacti-rce-snmp-options-vulnerable-application★ 0cve_referencepacketstormsecurity.com/files/175029/Cacti-1.2.24-Command-Injection.htmlunverifiedexploitdbwww.exploit-db.com/exploits/51740unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
http://packetstormsecurity.com/files/175029/Cacti-1.2.24-Command-Injection.htmlhttps://github.com/Cacti/cacti/security/advisories/GHSA-g6ff-58cj-x3cphttps://lists.debian.org/debian-lts-announce/2024/03/msg00018.htmlhttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/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/https://www.debian.org/security/2023/dsa-5550https://www.vicarius.io/vsociety/posts/command-injection-in-cacti-cve-2023-39362