Skip to main content
Public proof of conceptFix available

CVE-2023-39358

A public proof of concept exists; no exploitation attested.

  • Published2023-09-05
  • Fixed in1.2.25
  • WeaknessCWE-89

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Cacti is an open source operational monitoring and fault management framework. An authenticated SQL injection vulnerability was discovered which allows authenticated users to perform privilege escalation and remote code execution. The vulnerability resides in the `reports_user.php` file. In `ajax_get_branches`, the `tree_id` parameter is passed to the `reports_get_branch_select` function without any validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Timeline

dates in UTC
  1. 2023-09-0522:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP
Cacti
BranchAffectedFixed in
1.2< 1.2.251.2.25
Fedoraproject fedora
BranchAffectedFixed in
37.x= 37no fix published
38.x= 38no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • cacti
    Affected
    • = < 1.2.25no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-11-03

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • cactiUbuntu:Pro:22.04:LTSall versions · no fixed version listed
  • cactiUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • cactiUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • cactiUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • cactiUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • cactiUbuntu:24.04:LTSall versions · no fixed version listed
  • cactiSUSE:Package Hub 15 SP5all versions · fixed in 1.2.25-bp155.2.3.1and 1 other package
  • cactiSUSE:Package Hub 15 SP4all versions · fixed in 1.2.25-bp155.2.3.1and 1 other package

16 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-39358 Red Hat Product Security

    cacti: Authenticated SQL injection vulnerability when managing reports

Full record on NVD

Fix

  1. Update Cacti to 1.2.25

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-09-26
  • CNACVSS 3.18.8known since 2026-10-23
  • NVDCVSS 3.18.8read 2026-10-23
  • CNAweakness (CWE)CWE-89known since 2026-10-23
  • FIRST EPSSEPSS score2.0 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2023-09-05
Last modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2023-39358?

Cacti is an open source operational monitoring and fault management framework. An authenticated SQL injection vulnerability was discovered which allows authenticated users to perform privilege escalation and remote code execution. The vulnerability resides in the `reports_user.php` file. In `ajax_get_branches`, the `tree_id` parameter is passed to the `reports_get_branch_select` function without any validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Is CVE-2023-39358 actively exploited?

A proof-of-concept exploit exists for CVE-2023-39358, but active exploitation has not been confirmed at this time.

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

CVE-2023-39358 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running cacti? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record