← back
CVE-2023-39361criticalobserved exploitationCWE-89

Unauthenticated SQL Injection in graph_view.php in Cacti

100Vexday Risk Score

Patch now. It exploitation observed by VulnCheck and has a working public exploit.

ssvc Actcvss 9.8epss 89%
from disclosure to weapon16 days
Published on NVDSep 5
1st PoC+16d
VulnCheck+1035d
exploitation probability
89%top 1% of all CVEs
observed exploitation
yesVulnCheck
5 public exploit(s)
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Not affected
1 product — because the vulnerable code is not present in the product
red_hat_products
In short

Cacti has a SQL injection vulnerability in graph_view.php that can be accessed without logging in if guest access is enabled. Attackers can exploit this to steal data, gain admin privileges, or run malicious code on the server.

Technical detail

An unauthenticated SQL injection vulnerability exists in graph_view.php (CWE-89) accessible to guest users by default in Cacti versions prior to 1.2.25. The attack vector is network-based with no privilege requirements; successful exploitation could lead to database compromise, privilege escalation, or remote code execution depending on database permissions and application configuration.

Summary generated and translated by AI from the official description.
Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL injection discovered in graph_view.php. Since guest users can access graph_view.php without authentication by default, if guest users are being utilized in an enabled state, there could be the potential for significant damage. Attackers may exploit this vulnerability, and there may be possibilities for actions such as the usurpation of administrative privileges or remote code execution. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Cacti · cacti
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.