The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2020-14295

CVE-2020-14295: Cacti SQL Injection Vulnerability

CVE-2020-14295 is a SQL injection flaw in Cacti 1.2.12's color.php that enables authenticated admins to execute remote commands via stacked queries. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-14295 Overview

A SQL injection vulnerability exists in the color.php file of Cacti version 1.2.12. This vulnerability allows an authenticated administrator to inject arbitrary SQL commands through the filter parameter. The severity of this issue is compounded by the fact that Cacti's database configuration accepts stacked queries, enabling attackers to escalate from SQL injection to full remote command execution on the underlying server.

Critical Impact

Authenticated administrators can leverage SQL injection to achieve remote command execution on systems running Cacti 1.2.12, potentially leading to complete server compromise.

Affected Products

  • Cacti version 1.2.12
  • Fedora 31
  • Fedora 32

Discovery Timeline

  • 2020-06-17 - CVE-2020-14295 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-14295

Vulnerability Analysis

This vulnerability is a classic SQL injection flaw (CWE-89) that occurs when user-supplied input through the filter parameter in color.php is not properly sanitized before being incorporated into SQL queries. What makes this vulnerability particularly dangerous is the ability to execute stacked queries against the database backend.

Stacked queries allow an attacker to append additional SQL statements separated by semicolons, enabling operations beyond simple data extraction. In this case, an authenticated administrator can leverage MySQL's ability to write files to disk and execute system commands, transforming what would typically be a data disclosure vulnerability into a full remote code execution scenario.

The attack requires administrative privileges to access the vulnerable endpoint, but once authenticated, an attacker has significant control over both the database and potentially the underlying operating system.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and sanitization of the filter parameter within the color.php script. The application fails to properly escape or parameterize user input before constructing SQL queries, allowing malicious SQL syntax to be interpreted as part of the query structure rather than as data.

Additionally, the database configuration permits stacked queries (multiple SQL statements in a single query), which significantly increases the exploitability of the SQL injection by allowing arbitrary database operations beyond the intended query scope.

Attack Vector

The attack is conducted over the network by an authenticated user with administrative privileges. The attacker crafts a malicious request to the color.php endpoint, embedding SQL injection payloads within the filter parameter.

The exploitation typically follows this pattern:

  1. An attacker with admin credentials authenticates to the Cacti web interface
  2. The attacker navigates to or directly requests the color.php endpoint
  3. Malicious SQL is injected through the filter parameter
  4. Using stacked queries, the attacker can write PHP files to the web directory
  5. The attacker then accesses the uploaded PHP file to execute system commands

Public exploits are available on Packet Storm Security demonstrating the full attack chain from SQL injection to remote command execution.

Detection Methods for CVE-2020-14295

Indicators of Compromise

  • Unusual or malformed requests to color.php containing SQL syntax characters such as semicolons, single quotes, or UNION keywords in the filter parameter
  • Web server logs showing requests with encoded SQL payloads targeting color.php
  • Unexpected PHP files appearing in the Cacti web directory or temporary directories
  • Database logs showing stacked queries or file write operations via INTO OUTFILE
  • New or modified cron jobs, reverse shell connections, or unexpected processes running as the web server user

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in requests to Cacti endpoints
  • Monitor database query logs for anomalous stacked queries, file operations, or privilege escalation attempts
  • Deploy file integrity monitoring on the Cacti web directory to detect unauthorized file creation or modification
  • Configure intrusion detection systems (IDS) to alert on known exploitation signatures for CVE-2020-14295

Monitoring Recommendations

  • Enable verbose logging on the web server and database to capture detailed request and query information
  • Set up alerting for any INTO OUTFILE, INTO DUMPFILE, or LOAD_FILE operations in MySQL logs
  • Monitor for outbound network connections originating from the web server process that may indicate reverse shell activity
  • Regularly audit administrative user accounts and access patterns for anomalous behavior

How to Mitigate CVE-2020-14295

Immediate Actions Required

  • Upgrade Cacti to a version newer than 1.2.12 that contains the security fix for this vulnerability
  • Restrict network access to Cacti administrative interfaces to trusted IP addresses only
  • Review and audit all administrative user accounts, removing any unnecessary or suspicious accounts
  • Implement strong authentication mechanisms and consider multi-factor authentication for admin access

Patch Information

Security patches and updates are available from the Cacti project. Refer to the GitHub Cacti Issue Discussion for detailed information about the fix. Linux distribution maintainers have also released security updates:

  • Gentoo GLSA 202007-03
  • Fedora security updates available via the Fedora Package Announcements
  • openSUSE security updates via openSUSE Security Announcement

Workarounds

  • If immediate patching is not possible, restrict access to color.php at the web server level using access control rules
  • Disable stacked queries in the MySQL configuration if your application does not require them (note: this may affect functionality)
  • Implement a reverse proxy with SQL injection filtering capabilities in front of the Cacti application
  • Consider temporarily disabling the vulnerable color management functionality until a patch can be applied
bash
# Example Apache configuration to restrict access to color.php
<Location /cacti/color.php>
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Location>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechCacti

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability81.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • openSUSE Security Announcement

  • openSUSE Security Announcement

  • Packet Storm SQL Injection Exploit

  • Packet Storm Remote Code Execution

  • GitHub Cacti Issue Discussion

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202007-03
  • Related CVEs
  • CVE-2025-26520: Cacti SQL Injection Vulnerability

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

  • CVE-2024-34340: Cacti Authentication Bypass Vulnerability

  • CVE-2024-25641: Cacti Package Import RCE 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