CVE-2023-39362
HighPublic exploitIn 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 Aug 12, 2026 · Also known as 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.
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
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2023-39362 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
49 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
Aug 12, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39362.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-39362
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2023-39362
- advisoryhttps://ubuntu.com/security/CVE-2023-39362
- advisoryhttps://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-39357
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 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo