Skip to content

CVE-2025-24368 Cacti has a SQL Injection vulnerability when using tree rules through Automation API

MediumCVSS 6.9 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

10 packages: 8 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/cacti(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/cacti(Ubuntu 24.04) All versions No fix listed No fix yet
alpine/cacti(Alpine v3.21) < 1.2.29-r0 1.2.29-r0 Fixed
alpine/cacti(Alpine v3.22) < 1.2.29-r0 1.2.29-r0 Fixed
alpine/cacti(Alpine v3.23) < 1.2.29-r0 1.2.29-r0 Fixed
alpine/cacti(Alpine v3.24) < 1.2.29-r0 1.2.29-r0 Fixed
cacti < 1.2.29; = < 1.2.29 1.2.29 Fixed
debian/cacti(Debian 12) < 1.2.24+ds1-1+deb12u5; = 1.2.24+ds1-1; = 1.2.24+ds1-1+deb12u1; = 1.2.24+ds1-1+deb12u2 +2 more 1.2.24+ds1-1+deb12u5 Fixed
debian/cacti(Debian 13) < 1.2.28+ds1-4 1.2.28+ds1-4 Fixed
debian/cacti(Debian 14) < 1.2.28+ds1-4 1.2.28+ds1-4 Fixed

Affected products

ProductAffected versionsFixed in
debian/cacti(Debian:12) < 1.2.24+ds1-1+deb12u5 1.2.24+ds1-1+deb12u5
debian/cacti(Debian:12) = 1.2.24+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u2 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u3 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u4 No fix listed
debian/cacti(Debian:13) < 1.2.28+ds1-4 1.2.28+ds1-4
debian/cacti(Debian:14) < 1.2.28+ds1-4 1.2.28+ds1-4
cacti = < 1.2.29 No fix listed
ubuntu/cacti(Ubuntu:22.04) All versions No fix listed
alpine/cacti(Alpine:v3.21) < 1.2.29-r0 1.2.29-r0
alpine/cacti(Alpine:v3.22) < 1.2.29-r0 1.2.29-r0
alpine/cacti(Alpine:v3.23) < 1.2.29-r0 1.2.29-r0
alpine/cacti(Alpine:v3.24) < 1.2.29-r0 1.2.29-r0
ubuntu/cacti(Ubuntu:24.04) All versions No fix listed
cacti < 1.2.29 1.2.29

References