Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-24368

CVE-2025-24368: Cacti SQL Injection Vulnerability

CVE-2025-24368 is a SQL injection flaw in Cacti's automation_tree_rules.php that allows attackers to manipulate database queries. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 22, 2026

CVE-2025-24368 Overview

CVE-2025-24368 is a SQL Injection vulnerability affecting Cacti, an open source performance and fault management framework. The vulnerability exists in the automation_tree_rules.php file where user-supplied data is not thoroughly validated before being used to construct SQL statements in the build_rule_item_filter() function within lib/api_automation.php. This insufficient input sanitization allows attackers to inject malicious SQL code through crafted input, potentially enabling unauthorized database access.

Critical Impact

Attackers can exploit this SQL injection flaw to read, modify, or delete sensitive data from the Cacti database, potentially compromising monitoring infrastructure integrity and confidentiality.

Affected Products

  • Cacti versions prior to 1.2.29

Discovery Timeline

  • 2025-01-27 - CVE-2025-24368 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-24368

Vulnerability Analysis

This SQL Injection vulnerability arises from improper input validation in Cacti's automation tree rules functionality. When users interact with the automation tree rules configuration interface via automation_tree_rules.php, certain input parameters are passed to the build_rule_item_filter() function in lib/api_automation.php. The function fails to properly sanitize or parameterize these inputs before incorporating them into dynamic SQL queries.

The vulnerability allows unauthenticated or authenticated attackers (depending on system configuration) to manipulate SQL queries by injecting specially crafted payloads through the affected parameters. Successful exploitation could lead to extraction of sensitive information including user credentials, configuration data, and monitoring statistics stored in the Cacti database.

Root Cause

The root cause is insufficient input validation and lack of parameterized queries in the build_rule_item_filter() function. User-controlled data from automation_tree_rules.php is directly concatenated into SQL statements without proper escaping or the use of prepared statements, creating a classic SQL injection attack surface (CWE-89).

Attack Vector

The attack is network-based and can be executed remotely by sending malicious HTTP requests to the vulnerable endpoint. An attacker can craft requests containing SQL injection payloads that will be processed by the build_rule_item_filter() function. The injected SQL code executes within the context of the database user configured for Cacti, potentially allowing:

  • Extraction of database contents (data exfiltration)
  • Modification or deletion of monitoring data
  • Potential privilege escalation within the application
  • Lateral movement if database credentials provide access to other systems

The vulnerability does not require special conditions or user interaction beyond the attacker having network access to the Cacti web interface.

Detection Methods for CVE-2025-24368

Indicators of Compromise

  • Unusual or malformed HTTP requests to /automation_tree_rules.php containing SQL syntax patterns
  • Database query logs showing anomalous or extended query execution times
  • Unexpected error messages in Cacti logs referencing SQL syntax errors
  • Signs of data exfiltration or unauthorized database queries in audit logs

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect SQL injection patterns in requests to Cacti endpoints
  • Monitor HTTP access logs for suspicious parameters containing SQL keywords like UNION, SELECT, DROP, or comment sequences (--, /*)
  • Implement database activity monitoring to detect unusual query patterns or unauthorized data access
  • Review Cacti application logs for error messages indicating SQL injection attempts

Monitoring Recommendations

  • Enable detailed logging on the Cacti web server and database to capture potential attack attempts
  • Configure alerting for repeated failed SQL queries or syntax errors originating from web requests
  • Monitor network traffic to and from the Cacti server for unusual patterns or data volumes

How to Mitigate CVE-2025-24368

Immediate Actions Required

  • Upgrade Cacti to version 1.2.29 or later immediately
  • Restrict network access to the Cacti web interface to trusted IP addresses only
  • Review database and application logs for signs of prior exploitation
  • Implement WAF rules to filter SQL injection attempts as a temporary defense layer

Patch Information

The vulnerability has been addressed in Cacti version 1.2.29. The fix is available in the GitHub commit c7e4ee798d263a3209ae6e7ba182c7b65284d8f0. Administrators should upgrade to the patched version as soon as possible. Additional details are available in the GitHub Security Advisory GHSA-f9c7-7rc3-574c. Debian users should refer to the Debian LTS Announcement for distribution-specific patching guidance.

Workarounds

  • Implement strict input validation at the web server or WAF level to block SQL injection patterns
  • Restrict access to the Cacti administrative interface using IP allowlisting or VPN requirements
  • Disable or restrict access to automation tree rules functionality if not actively needed
  • Deploy database-level query monitoring and rate limiting as a defense-in-depth measure
bash
# Example: Restrict Cacti access to trusted networks using iptables
iptables -A INPUT -p tcp --dport 80 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCacti

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Security Advisory GHSA-f9c7-7rc3-574c

  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2025-26520: Cacti SQL Injection Vulnerability

  • CVE-2020-14295: Cacti SQL Injection Vulnerability

  • CVE-2025-45160: Cacti File Upload XSS Vulnerability

  • CVE-2024-34340: Cacti Authentication Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English