cve.bz

CVE-2023-39359 SQL Injection

8.8 highExploit referenceEPSS 2.1%

High (8.8). EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
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 `graphs.php` file. When dealing with the cases of ajax_hosts and ajax_hosts_noany, if the `site_id` parameter is greater than 0, it is directly reflected in the WHERE clause of the SQL statement. This creates an SQL injection vulnerability. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-09-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-39359 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-39359?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-39359?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-39359 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cacti:cactibefore 1.2.25
fedoraproject:fedora37
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11cacti1.2.16+ds1-2+deb11u2DSA-5550-1
Debian12cacti1.2.24+ds1-1+deb12u1DEBIAN-CVE-2023-39359 DSA-5550-1
Debian13, 14cacti1.2.25+ds1-1DEBIAN-CVE-2023-39359
Ubuntu24.04:LTS, Pro:14.04:LTS, Pro:16.04:LTS and 3 morecactino fix listedUBUNTU-CVE-2023-39359
SUSEPackage Hub 12, Package Hub 15 SP4, Package Hub 15 SP5cacti, cacti-spine1.2.25-bp155.2.3.1openSUSE-SU-2023:0275-1
openSUSELeap 15.4, Leap 15.5cacti, cacti-spine1.2.25-bp155.2.3.1openSUSE-SU-2023:0275-1
openSUSETumbleweedcacti1.2.25-2.1openSUSE-SU-2024:13203-1
Alpinev3.18cacti1.2.26-r0ALPINE-CVE-2023-39359
Alpinev3.19, v3.20, v3.21 and 3 morecacti1.2.25-r0ALPINE-CVE-2023-39359

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON