← Vulnerability feed

Vulnerability record · CVE-2020-14295 · published 17 June 2020

CVE-2020-14295: Cacti color.php SQL injection leads to command execution

Cacti · Cacti

Cacti 1.2.12 contains a SQL injection flaw in color.php where the filter parameter is not properly sanitized. Because the underlying database accepts stacked queries, an authenticated administrator can chain arbitrary SQL with operating system commands, turning a database injection into remote code execution. The issue matters because it converts a high-privilege web interface into full command execution on the Cacti host.

7.2 CVSS 3.1 High EPSS 86% · top 0.3% CWE-89 · SQL injection
7.2CVSS 3.1 base score, v2 6.5
86%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
16References, 6 tagged exploit
17 Jun 2026Last modified by NVD

Description

A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter parameter. This can lead to remote command execution because the product accepts stacked queries.

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityThe flaw enables remote code execution but requires an existing admin account, and public exploit code plus a very high EPSS score make it a realistic target for post-compromise or insider abuse.

What it is

Cacti 1.2.12 contains a SQL injection flaw in color.php where the filter parameter is not properly sanitized. Because the underlying database accepts stacked queries, an authenticated administrator can chain arbitrary SQL with operating system commands, turning a database injection into remote code execution. The issue matters because it converts a high-privilege web interface into full command execution on the Cacti host.

Impact

An attacker with admin access gains the ability to execute arbitrary SQL and, via stacked queries, run operating system commands on the server. This yields full compromise of the Cacti host and any data or credentials it holds.

Attack surface

The flaw is reached over the network through the color.php endpoint using the filter parameter, per the CVSS vector AV:N. Exploitation requires high privileges (PR:H) and no user interaction (UI:N), so an attacker must already hold a Cacti administrator account.

Exploitation

CVE-2020-14295 is not listed in CISA KEV, but public exploit code exists per Packetstorm and GitHub references tagged Exploit. EPSS is very high at 0.8633 (99.7th percentile), indicating strong likelihood of exploitation activity.

What to do

  • Upgrade Cacti to a version later than 1.2.12 that fixes the color.php filter parameter handling.
  • Apply the vendor or distribution patches referenced in the Fedora, openSUSE and Gentoo advisories if immediate upgrade is not possible.
  • Restrict Cacti administrative access to trusted networks and enforce strong unique credentials, since exploitation requires an admin account.
  • Audit and reduce the number of accounts with administrative privileges in Cacti.
  • Monitor Cacti database and web logs for anomalous SQL or command patterns originating from color.php.

Detection

  • Search web server logs for requests to color.php with unusual or SQL-like filter parameter values.
  • Monitor database logs for stacked or multi-statement queries originating from the Cacti application.
  • Alert on unexpected child processes spawned by the web server or database service on Cacti hosts.
  • Review Cacti admin account activity for logins or actions outside normal patterns.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html Broken Link
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html Broken Link
http://packetstormsecurity.com/files/162384/Cacti-1.2.12-SQL-Injection-Remote-Code-Execution.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/162918/Cacti-1.2.12-SQL-Injection-Remote-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
https://github.com/Cacti/cacti/issues/3622 ExploitIssue TrackingThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W64CIB6L4HZRVQSWKPDDKXJ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZKM5G3YNSZDHDZMPCMAHG5B
https://security.gentoo.org/glsa/202007-03 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html Broken Link
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html Broken Link
http://packetstormsecurity.com/files/162384/Cacti-1.2.12-SQL-Injection-Remote-Code-Execution.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/162918/Cacti-1.2.12-SQL-Injection-Remote-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
https://github.com/Cacti/cacti/issues/3622 ExploitIssue TrackingThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W64CIB6L4HZRVQSWKPDDKXJ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZKM5G3YNSZDHDZMPCMAHG5B
https://security.gentoo.org/glsa/202007-03 Third Party Advisory

Track CVE-2020-14295 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2022-46169Cacti remote_agent.php auth bypass leads to OS command injectionCacti's remote_agent.php trusts attacker-controlled HTTP headers when resolving the client IP, letting an unauthenticated attacker spoof the poller h…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed

Source: NIST National Vulnerability Database (record CVE-2020-14295), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.