CVE-2024-31445
SQL Injection vulnerability in automation_get_new_graphs_sql
HIGH 8.8EPSS 26.2%
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in `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. Version 1.2.27 contains a patch for the issue.
- Affected
- Cacti · cacti
- CVSS v3.1 NVD
- 8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 26.15% chance of exploitation in the next 30 days, 98th percentile
- Published
- 2024-05-13
- Updated
- 2025-12-16
Proof-of-concept exploits (1)
Security advisories
- Cacti/cacti/commit/fd93c6e47651958b77c3bbe6a01fff695f81e886
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/me…