Skip to content

CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti

CriticalCVSS 9.8 EPSS 88.8% Scanner template
Published
Updated
Exploit status
No public exploit known
Technology
PHPUbuntuDebian

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.

Upgrade path

15 packages: 13 fixed.

PackageAffectedFixed inStatus
alpine/cacti(Alpine v3.18) < 1.2.26-r0 1.2.26-r0 Fixed
alpine/cacti(Alpine v3.19) < 1.2.25-r0 1.2.25-r0 Fixed
alpine/cacti(Alpine v3.20) < 1.2.25-r0 1.2.25-r0 Fixed
alpine/cacti(Alpine v3.21) < 1.2.25-r0 1.2.25-r0 Fixed
alpine/cacti(Alpine v3.22) < 1.2.25-r0 1.2.25-r0 Fixed
alpine/cacti(Alpine v3.23) < 1.2.25-r0 1.2.25-r0 Fixed
alpine/cacti(Alpine v3.24) < 1.2.25-r0 1.2.25-r0 Fixed
debian/cacti(Debian 12) < 1.2.24+ds1-1+deb12u1; = 1.2.24+ds1-1 1.2.24+ds1-1+deb12u1 Fixed
debian/cacti(Debian 13) < 1.2.25+ds1-1 1.2.25+ds1-1 Fixed
debian/cacti(Debian 14) < 1.2.25+ds1-1 1.2.25+ds1-1 Fixed
ubuntu/cacti(Ubuntu 22.04) < 1.2.19+ds1-2ubuntu1+esm1 1.2.19+ds1-2ubuntu1+esm1 Fixed
ubuntu/cacti(Ubuntu 24.04) < 1.2.25+ds1-2 1.2.25+ds1-2 Fixed
ubuntu/cacti(Ubuntu Pro 22.04) < 1.2.19+ds1-2ubuntu1+esm1; = 1.2.16+ds1-2ubuntu1; = 1.2.19+ds1-2ubuntu1 1.2.19+ds1-2ubuntu1+esm1 Fixed
cacti = 1.2.24; = < 1.2.25 No fix listed Versions listed
fedoraproject fedora = 37; = 38 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/cacti(Debian:12) < 1.2.24+ds1-1+deb12u1 1.2.24+ds1-1+deb12u1
debian/cacti(Debian:12) = 1.2.24+ds1-1 No fix listed
debian/cacti(Debian:13) < 1.2.25+ds1-1 1.2.25+ds1-1
debian/cacti(Debian:14) < 1.2.25+ds1-1 1.2.25+ds1-1
cacti = < 1.2.25 No fix listed
ubuntu/cacti(Ubuntu:22.04) < 1.2.19+ds1-2ubuntu1+esm1 1.2.19+ds1-2ubuntu1+esm1
alpine/cacti(Alpine:v3.18) < 1.2.26-r0 1.2.26-r0
alpine/cacti(Alpine:v3.19) < 1.2.25-r0 1.2.25-r0
alpine/cacti(Alpine:v3.20) < 1.2.25-r0 1.2.25-r0
alpine/cacti(Alpine:v3.21) < 1.2.25-r0 1.2.25-r0
alpine/cacti(Alpine:v3.22) < 1.2.25-r0 1.2.25-r0
alpine/cacti(Alpine:v3.23) < 1.2.25-r0 1.2.25-r0
alpine/cacti(Alpine:v3.24) < 1.2.25-r0 1.2.25-r0
ubuntu/cacti(Ubuntu:24.04) < 1.2.25+ds1-2 1.2.25+ds1-2
cacti = 1.2.24 No fix listed
fedoraproject fedora = 37 No fix listed
fedoraproject fedora = 38 No fix listed
ubuntu/cacti(Ubuntu:Pro:22.04) < 1.2.19+ds1-2ubuntu1+esm1 1.2.19+ds1-2ubuntu1+esm1
ubuntu/cacti(Ubuntu:Pro:22.04) = 1.2.16+ds1-2ubuntu1 No fix listed
ubuntu/cacti(Ubuntu:Pro:22.04) = 1.2.19+ds1-2ubuntu1 No fix listed

References