7.2

CVE-2023-39362: cacti OS Command Injection

CVSS: 7.2v3.1HighModified
AliasesUBUNTU-CVE-2023-39362DEBIAN-CVE-2023-39362
Published 05-09-2023Last modified 27-02-2025

Vulnerability summary

CVE-2023-39362 is a high (CVSS 7.2) OS Command Injection vulnerability in cacti. EPSS estimates a 85.45% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
56/100
0100
High · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (CVE.org)
EPSS score
85.45%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3github, reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 4 · Related 2

Timeline

  1. 05-09-2023
    PublishedVulnerability first disclosed.
  2. 27-02-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

85.45%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 85.45% on 20-09-2026

20-09-202620-10-2026
EPSS score
85.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • githubUnverified

    Cacti

    Maturity: poc

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • exploit-databasephpUnverified

    Cacti 1.2.24 - Authenticated command injection when using SNMP options

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Cacti1 product
Debian1 product
  • cacti< 1.2.24+ds1-1+deb12u1 | < 1.2.25+ds1-1
Fedoraproject1 product
Ubuntu1 product
  • cactiAll versions (No fix recorded)

4 vendors · 4 products

References

11 links
Show all 11 references