CVE-2023-39362Cacti Command Injection
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.
Published Sep 6, 2023 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2023-39362, CLEANSTART-2024-HF66576, DEBIAN-CVE-2023-39362, GHSA-g6ff-58cj-x3cp, UBUNTU-CVE-2023-39362
Key Facts
Patch immediately- CVE-2023-39362 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Cacti, Fedora (Fedoraproject), cacti-spine (suse).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 85% probability of exploitation in the next 30 days.
- Fixed versions are available, including Cacti 1.1.19-5.23.amzn1, Cacti 1.2.16+ds1-2+deb11u2, Cacti 1.2.2+ds1-2+deb10u6.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
85%
Higher than 99.7% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
61/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
3
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2023-39362
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-39362
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2023-39362
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2023-39362
- advisoryhttps://ubuntu.com/security/CVE-2023-39362
- advisoryUSOM advisory
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.
Affected Products
52 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| CactiCacti | < 1.2.25 | 1.2.25 |
| FedoraFedoraproject | 37, 38 | n/a |
| cacti-spinesuse | See advisory | 1.2.25-bp155.2.3.1 |
Patched Releases
Cacti
1.1.19-5.23.amzn1, 1.2.16+ds1-2+deb11u2, 1.2.2+ds1-2+deb10u6, 1.2.24+ds1-1+deb12u1, 1.2.25-2.1, 1.2.25-bp155.2.3.1, 1.2.25-r0, 1.2.25+ds1-1, 1.2.26-r0, 1.2.25
cacti-spine
1.2.25-bp155.2.3.1
Timeline
Publicly disclosed
Sep 6, 2023
Last updated
Nov 3, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2023-39362
- advisorysecurity.alpinelinux.org · CVE-2023-39362
- advisorysecurity-tracker.debian.org · CVE-2023-39362
- advisoryubuntu.com · CVE-2023-39362
FAQ
Common Questions.
Cacti is an open source operational monitoring and fault management framework.
Affected: Cacti versions < 1.2.25; Fedora (Fedoraproject) versions 37, 38; cacti-spine (suse). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Cacti 1.1.19-5.23.amzn1, Cacti 1.2.16+ds1-2+deb11u2, Cacti 1.2.2+ds1-2+deb10u6.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-39362 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo