BreachSpiderVerified, not vibes

CVE-2023-39362 in Cacti and 1 more product

High 7.2 Public exploit reported

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/s...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.2
EPSS28.6%
EPSS percentile99th
FixUnknown

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Cacti Cacti < 1.2.25
Fedoraproject Fedora 37 38

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-39362
BreachSpider IDBS-2023-GLOBAL-259272-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published2023-09-05
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-77: Command Injection

Attacker injects operating system commands through application inputs passed to a shell or system call.

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77, CWE-78

CAPEC-76 Manipulating Web Input to File System Calls via CWE-77

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-77, CWE-78

Show all 11

CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77

CAPEC-75 Manipulating Writeable Configuration Files via CWE-77

CAPEC-88 OS Command Injection via CWE-78

CAPEC-136 LDAP Injection via CWE-77

CAPEC-183 IMAP/SMTP Command Injection via CWE-77

CAPEC-248 Command Injection via CWE-77

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2023-39362 affects Cacti 1.2.24, allowing an authenticated privileged user to perform command injection via SNMP options, leading to remote code execution. The vulnerability is rated 7.2 in CVSS and has a high exploitation likelihood due to the availability of a public proof of concept and existing exploits. Immediate remediation is advised, including upgrading to version 1.2.25.

An authenticated privileged user can inject a malicious string into the SNMP options of a device in Cacti 1.2.24. This string is then used in an `exec` call without proper validation, leading to command injection and potential remote code execution on the underlying server.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for SNMP options in Cacti. Consider using a web application firewall (WAF) to monitor and block suspicious requests.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2023-39362?

CVE-2023-39362 affects Cacti 1.2.24, allowing an authenticated privileged user to perform command injection via SNMP options, leading to remote code execution. The vulnerability is rated 7.2 in CVSS and has a high exploitation likelihood due to the availability of a public proof of concept and existing exploits. Immediate remediation is advised, including upgrading to version 1.2.25.

What is the CVSS score for CVE-2023-39362?

CVE-2023-39362 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 28.6%.

Is CVE-2023-39362 actively exploited?

Public exploit available for CVE-2023-39362. Exploitation risk elevated.

How do I remediate CVE-2023-39362?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2023-39362?

CVE-2023-39362 affects Cacti Cacti; Fedoraproject Fedora.

What NERC-CIP standard applies to CVE-2023-39362?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to the system through command injection, which can compromise the security and integrity of the control system.

What IEC 62443 requirement maps to CVE-2023-39362?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves a vulnerability in the software that can be exploited to gain unauthorized access and execute arbitrary code, which can compromise the security of the industrial control system.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Cacti","product":"Cacti","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.