CVE-2023-39358 json
Authenticated SQL injection vulnerability in reports_user.php in Cacti
published 2023-09-05 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-43084
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Cacti cacti 1.2.25
- cacti Debian 12 1.2.24+ds1-1+deb12u1
- cacti Debian 14, Debian 13 1.2.25+ds1-1
debian advisories DEBIAN-CVE-2023-39358
- cacti openSUSE Tumbleweed 1.2.25-2.1
- cacti-spine Package Hub 15 SP5, Package Hub 15 SP4, Package Hub 12 +2 more 1.2.25-bp155.2.3.1
- cacti Package Hub 15 SP5, Package Hub 15 SP4, Package Hub 12 +2 more 1.2.25-bp155.2.3.1
opensuse advisories openSUSE-SU-2024:13203-1openSUSE-SU-2023:0275-1
- cacti Alpine 3.18 1.2.26-r0
- cacti Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.2.25-r0
alpine advisories ALPINE-CVE-2023-39358
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-39358 updated cvss 8.8
cacti: Authenticated SQL injection vulnerability when managing reports
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
2.04% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Cacti/cacti/security/advisories/GHSA-gj95-7xr8-9p7g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Cacti cacti
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/Cacti/cacti/security/advisories/GHSA-gj95-7xr8-9p7g
exploit, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/
mailing-list
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
Sources
- CVE List CVE-2023-39358
- NVD CVE-2023-39358
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.