Skip to content
Vulnerability Intelligence

CVE-2023-39362

HighPublic exploit

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 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
ProductAffected versionsFixed in
CactiCacti>= < 1.2.251.2.25
FedoraFedoraproject37, 38n/a
cacti-spinesuseSee advisory1.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

  1. Publicly disclosed

    Sep 6, 2023

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

15 more references in the full CVE brief

FAQ

Common Questions.

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