SQL injection in Cacti - CVE-2023-51448

 

SQL injection in Cacti - CVE-2023-51448

Published: December 27, 2023


Vulnerability identifier: #VU84814
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-51448
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "selected_graphs_array" HTTP GET parameter to /cacti/managers.php within the SNMP Notification Receivers feature. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

Cacti
Amazon Linux AMI
Fedora
cacti
cacti-spine

How to mitigate CVE-2023-51448

Install update from vendor's website.

Cacti - update to 1.2.26
cacti - update to 1.1.19-6.24
cacti - addressed in versions 1.2.27-1.el7, 1.2.27-1.el8, 1.2.27-1.el9, 1.2.27-1.fc39
cacti-spine - addressed in versions 1.2.27-1.el7, 1.2.27-1.el8, 1.2.27-1.el9, 1.2.27-1.fc39

External References

Related Security Bulletins