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.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.5%top 55.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.21cacti1.2.29-r0ALPINE-CVE-2025-24368
Alpine:v3.22cacti1.2.29-r0ALPINE-CVE-2025-24368
Alpine:v3.23cacti1.2.29-r0ALPINE-CVE-2025-24368
Alpine:v3.24cacti1.2.29-r0ALPINE-CVE-2025-24368
Debian:12cacti1.2.24+ds1-1+deb12u5DSA-5862-1
Debian:12cacti1.2.24+ds1-1+deb12u5DEBIAN-CVE-2025-24368
Debian:13cacti1.2.28+ds1-4DEBIAN-CVE-2025-24368
Debian:14cacti1.2.28+ds1-4DEBIAN-CVE-2025-24368
Ubuntu:24.04:LTScactino fix listedUBUNTU-CVE-2025-24368
Ubuntu:25.10cactino fix listedUBUNTU-CVE-2025-24368

Affected products (as reported)

VendorProductVersions
Cacti cacti < 1.2.29

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

References