PT-2024-3805 · Cacti+4 · Cacti+4

Liotree

·

Published

2023-07-13

·

Updated

2026-05-08

·

CVE-2024-31445

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Cacti versions prior to 1.2.27
Description Cacti provides an operational monitoring and fault management framework. A SQL injection vulnerability in the automation get new graphs sql function of api automation.php allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In api automation.php line 856, the get request var('filter') is being concatenated into the SQL statement without any sanitization. In api automation.php line 717, the filter of 'filter' is FILTER DEFAULT, which means there is no filter for it.
Recommendations For versions prior to 1.2.27, update to version 1.2.27 to resolve the issue. As a temporary workaround, consider disabling the automation get new graphs sql function until a patch is available. Restrict access to the api automation.php file to minimize the risk of exploitation. Avoid using the get request var('filter') variable in the affected API endpoint until the issue is resolved.

Exploit

Fix

RCE

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2023-4394
ALT-PU-2023-4396
ALT-PU-2023-5196
ALT-PU-2024-17822
ALT-PU-2025-1813
BDU:2024-04180
CVE-2024-31445
DLA-3884-1
GHSA-VJPH-R677-6PCC
OPENSUSE-SU-2024:0274-1
OPENSUSE-SU-2024:0276-1
OPENSUSE-SU-2024:13962-1
USN-6969-1

Affected Products

Alt Linux
Cacti
Linuxmint
Red Os
Ubuntu