Every CVE Search/ Get API key

CVE-2023-39361

Unauthenticated SQL Injection in graph_view.php in Cacti

9.8 CriticalPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

88.8%Up 88.7 points since Sep 6, 2023
90%50%10%1%

What each source reports

CVE List Score used 9.8

Unauthenticated SQL Injection in graph_view.php in Cacti

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.

Record
CVE-2023-39361
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
EUVDEUVD-2023-43087 9.8

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.

Record
EUVD-2023-43087
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
NVD 9.8

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.

Record
CVE-2023-39361
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
OSVALPINE-CVE-2023-39361 9.8

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.

Record
ALPINE-CVE-2023-39361
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 9.8

Unauthenticated SQL Injection in graph_view.php in Cacti

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.

Record
CVE-2023-39361
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
OSVDEBIAN-CVE-2023-39361 9.8

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.

Record
DEBIAN-CVE-2023-39361
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2023-39361 9.8

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.

Record
UBUNTU-CVE-2023-39361
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2023:0275-1 No score

Security update for cacti, cacti-spine

This update for cacti, cacti-spine fixes the following issues:

cacti-spine 1.2.25:

  • Spine should see if script to be executed is executable
  • Enhance number recognition
  • When polling devices, sort by larger number of items first
  • Log format may be corrupted when timeout occurs
  • Compile warning appears due to GCC flag on RHEL7/RHEL8
  • Downed device detection only checks one of the two uptime OIDs
  • Compile error appears due to execinfo.h on FreeBSD
  • Bootstrap shell script contains some PHP cruft
  • Padding is not always removed from the start of non-numeric strings
  • Improve SNMP result handling for non-numeric results
  • Further improve SNMP result handling for non-numeric results
  • Remove check for the max_oids column which has been present since Cacti v1.0
  • Minimize Sorting when fetching poller records for maximum performance
  • Spine should see if script to be executed is executable

cacti-spine 1.2.24:

  • Fix segfault when ignoring older OIDs

cacti 1.2.25:

  • CVE-2023-30534: Protect against Insecure deserialization of filter data (boo#1215082)
  • CVE-2023-39360: Cross-Site Scripting vulnerability when creating new graphs (boo#1215044)
  • CVE-2023-39361: Unauthenticated SQL Injection when viewing graphs (boo#1215045)
  • CVE-2023-39357: SQL Injection when saving data with sql_save() (boo#1215040)
  • CVE-2023-39362: Authenticated command injection when using SNMP options (boo#1215047)
  • CVE-2023-39359: Authenticated SQL injection vulnerability when managing graphs (boo#1215043)
  • CVE-2023-39358: Authenticated SQL injection vulnerability when managing reports (boo#1215042)
  • CVE-2023-39365: SQL Injection when using regular expressions (boo#1215051)
  • CVE-2023-39364: redirect in change password functionality (boo#1215050)
  • CVE-2023-39366: Cross-Site Scripting vulnerability with Device Name when managing Data Sources (boo#1215052)
  • CVE-2023-39510: Cross-Site Scripting vulnerability with Device Name when administrating Reports (boo#1215053)
  • CVE-2023-39511: Cross-Site Scripting vulnerability with Device Name when editing Graphs whilst managing Reports (boo#1215081)
  • CVE-2023-39512: Cross-Site Scripting vulnerability with Device Name when managing Data Sources (boo#1215054)
  • CVE-2023-39513: Cross-Site Scripting vulnerability with Device Name when debugging data queries (boo#1215055)
  • CVE-2023-39514: Cross-Site Scripting vulnerability with Data Source Name when managing Graphs (boo#1215056)
  • CVE-2023-39515: Cross-Site Scripting vulnerability with Data Source Name when debugging Data Queries (boo#1215058)
  • CVE-2023-39516: Cross-Site Scripting vulnerability with Data Source Information when managing Data Sources (boo#1215059)
  • When rebuilding the Poller Cache from command line, allow it to be multi-threaded
  • When searching tree or list views, the URL does not update after changes
  • When creating a Data Source Template with a specific snmp port, the port is not always applied
  • When a Data Query references a file, the filename should be trimmed to remove spurious spaces
  • THold plugin may not always install or upgrade properly
  • RRD file structures are not always updated properly, if there are more Data Sources in the Data Template than the Graph Template
  • When reindexing devices, errors may sometimes be shown
  • Boost may loose data when the database server is overloaded
  • Boost can sometimes output unexpected or invalid values
  • Boost should not attempt to start if there are no items to process
  • Rebuilding the poller cache does not always work as expected
  • Host CPU items may not work poll as expected when on a remote data collector where hmib is also enabled
  • When creating new graphs, invalid offset errors may be generated
  • When importing packages, SQL errors may be generated
  • When managing plugins from command line, the --plugin option is not properly handled
  • When automating an install of Cacti, error messages can be appear
  • When performing automated install of a plugin, warnings can be thrown
  • Automation…
Record
openSUSE-SU-2023:0275-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13203-1 No score

cacti-1.2.25-2.1 on GA media

These are all security issues fixed in the cacti-1.2.25-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13203-1
Updated
2026-11-02
OSVUSN-6720-1 No score

cacti vulnerability

Kentaro Kawane discovered that Cacti incorrectly handled user provided input sent through request parameters to the graph_view.php script. A remote authenticated attacker could use this issue to perform SQL injection attacks.

Record
USN-6720-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cacti
Alpine:v3.18
before 1.2.26-r0
1.2.26-r0
cacti
Alpine:v3.19
before 1.2.25-r0
1.2.25-r0
cacti
Alpine:v3.20
before 1.2.25-r0
1.2.25-r0
cacti
Alpine:v3.21
before 1.2.25-r0
1.2.25-r0
cacti
Alpine:v3.22
before 1.2.25-r0
1.2.25-r0
cacti
Alpine:v3.23
before 1.2.25-r0
1.2.25-r0
cacti
Alpine:v3.24
before 1.2.25-r0
1.2.25-r0
cacti
Debian:12
before 1.2.24+ds1-1+deb12u1, plus listed versions
1.2.24+ds1-1
1.2.24+ds1-1+deb12u1
cacti
Debian:13
before 1.2.25+ds1-1
1.2.25+ds1-1
cacti
Debian:14
before 1.2.25+ds1-1
1.2.25+ds1-1
Show 15 moreShow less
Affected packages
PackageAffectedFixed
cacti
Debian:10
before 1.2.2+ds1-2+deb10u6, plus listed versions
1.2.2+ds1-21.2.2+ds1-2+deb10u11.2.2+ds1-2+deb10u21.2.2+ds1-2+deb10u31.2.2+ds1-2+deb10u41.2.2+ds1-2+deb10u5
1.2.2+ds1-2+deb10u6
cacti
Debian:11
before 1.2.16+ds1-2+deb11u2, plus listed versions
1.2.16+ds1-21.2.16+ds1-2+deb11u1
1.2.16+ds1-2+deb11u2
cacti
Ubuntu:Pro:22.04:LTS
before 1.2.19+ds1-2ubuntu1+esm1, plus listed versions
1.2.16+ds1-2ubuntu11.2.19+ds1-2ubuntu1
1.2.19+ds1-2ubuntu1+esm1
cacti
Ubuntu:24.04:LTS
before 1.2.25+ds1-2
1.2.25+ds1-2
cacti
SUSE:Package Hub 12
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti-spine
SUSE:Package Hub 12
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti
SUSE:Package Hub 15 SP4
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti-spine
SUSE:Package Hub 15 SP4
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti
SUSE:Package Hub 15 SP5
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti-spine
SUSE:Package Hub 15 SP5
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti
openSUSE:Leap 15.4
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti-spine
openSUSE:Leap 15.4
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti
openSUSE:Leap 15.5
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti-spine
openSUSE:Leap 15.5
before 1.2.25-bp155.2.3.1
1.2.25-bp155.2.3.1
cacti
openSUSE:Tumbleweed
before 1.2.25-2.1
1.2.25-2.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubHPT-Intern-Task-Submission/CVE-2023-393612024-07-01
PoC in GitHubChoDeokCheol/CVE-2023-393612025-04-26
PoC in GitHubspartanx-alejandro/cacti-cve-2023-393612026-08-31
NucleiCacti 1.2.24 - SQL Injection

History

History
RecordedChangedSources
affected, aliases, exploits, referencesOSV
aliases, publishedEUVD
first indexedCVE List, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-39361 is a critical vulnerability (CVSS 9.8) in Cacti, published September 5, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 88.8%, the 99th percentile. Fixed in cacti 1.2.26-r0.

References

Show 42 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open