SQL Injection in Cacti
CVE-2024-31445
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.262 (97.9th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.262 · newest: 0.262 · change: 0.000
Affected products
- Cacti — versions < 1.2.27
- Fedoraproject Fedora — versions 39
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/Cacti/cacti/security/advisories/GHSA-vjph-r677-6pcc (Exploit, Vendor Advisory)
- github.com/Cacti/cacti/commit/fd93c6e47651958b77c3bbe6a01fff695f81e886 (Patch)
- github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/lib/api_au… (Product)
- github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/lib/api_au… (Product)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Product)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-31445?
- CVE-2024-31445 is a high-severity vulnerability in Cacti, classified under SQL Injection. CVSS score: 8.8/10. Published 2024-05-14.
- How severe is CVE-2024-31445?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2024-31445 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.