Vulnerability · Published Jan 27, 2025 · Assigned by GitHub_M
CVE-2025-24368Cacti has a SQL Injection vulnerability when using tree rules through Automation API
Medium 6.9
In plain English
A medium-severity SQL injection in cacti from Cacti. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Cacti is an open source performance and fault management framework. Some of the data stored in automation_tree_rules.php is not thoroughly checked and is used to concatenate the SQL statement in build_rule_item_filter() function from lib/api_automation.php, resulting in SQL injection. This vulnerability is fixed in 1.2.29.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | cacti | 1.2.29-r0 | ALPINE-CVE-2025-24368 |
| Alpine:v3.22 | cacti | 1.2.29-r0 | ALPINE-CVE-2025-24368 |
| Alpine:v3.23 | cacti | 1.2.29-r0 | ALPINE-CVE-2025-24368 |
| Alpine:v3.24 | cacti | 1.2.29-r0 | ALPINE-CVE-2025-24368 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u5 | DSA-5862-1 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u5 | DEBIAN-CVE-2025-24368 |
| Debian:13 | cacti | 1.2.28+ds1-4 | DEBIAN-CVE-2025-24368 |
| Debian:14 | cacti | 1.2.28+ds1-4 | DEBIAN-CVE-2025-24368 |
| Ubuntu:24.04:LTS | cacti | no fix listed | UBUNTU-CVE-2025-24368 |
| Ubuntu:25.10 | cacti | no fix listed | UBUNTU-CVE-2025-24368 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N