CVE-2025-24368
Cacti vulnerability analysis and mitigation

Overview

Cacti, an open source performance and fault management framework, was found to contain a SQL injection vulnerability (CVE-2025-24368) that was fixed in version 1.2.29. The vulnerability exists in the automationtreerules.php file where data is not thoroughly checked and is used to concatenate SQL statements in the buildruleitemfilter() function from lib/apiautomation.php (GitHub Advisory).

Technical details

The vulnerability stems from insufficient validation of the 'field' parameter in automationtreerules.php. When the buildmatchingobjectsfilter() function in lib/api.automation.php constructs SQL statements, it uses the buildruleitemfilter() function which concatenates the unchecked field value directly into SQL queries. The issue occurs specifically in the automationtreerulesformsave() function where administrator privileges for Automation can control the field parameter of the automationtreerule_items table (GitHub Advisory).

Impact

Attackers can exploit this vulnerability to modify the contents of the Cacti database through SQL-based secondary injection techniques. Based on the modified content, attackers may achieve arbitrary file reading capabilities and potentially remote code execution through arbitrary file writing (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Cacti version 1.2.29. Users are advised to upgrade to this version or later to address the security issue. The fix includes additional validation checks for SQL injections in the automation tree rules functionality (Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Cacti vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26520CRITICAL9.8
  • CactiCacti
  • cacti
NoYesFeb 12, 2025
CVE-2005-10004HIGH8.7
  • CactiCacti
  • cacti
NoYesAug 30, 2025
CVE-2025-24367HIGH8.7
  • CactiCacti
  • cacti
NoYesJan 27, 2025
CVE-2025-22604HIGH7.2
  • CactiCacti
  • cacti
NoYesJan 27, 2025
CVE-2025-24368MEDIUM6.9
  • CactiCacti
  • cacti
NoYesJan 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management