CVE-2020-14295: A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter parameter.
Noroxi assessment
Priority: Plan (action score 54/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 86% (FIRST EPSS); higher than 99.7% of all records.
- Anyone who can reach it over the internet can trigger it. Administrator privileges are required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: cacti (Alpine:v3.13) 1.2.13-r0; cacti (Debian:12) 1.2.13+ds1-1; cacti (openSUSE:Leap 15.1) 1.2.13-11.1.
Add it to your regular patch cycle. Upgrade to cacti (Alpine:v3.13) 1.2.13-r0; cacti (Debian:12) 1.2.13+ds1-1; cacti (openSUSE:Leap 15.1) 1.2.13-11.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 17, 2020
- Updated
- Jun 16, 2026
- EPSS
- 86.0% · 99th percentile
- CWE
- CWE-89
Report tools
Action score
54
Add it to your regular patch cycle.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 26 / 30 · 86.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| cacti | cacti | cpe:2.3:a:cacti:cacti |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- cacti cacti1.2.12
- fedoraproject fedora31
- fedoraproject fedora32
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.13 | cacti | before 1.2.13-r0 | 1.2.13-r0 |
| Debian:12 | cacti | before 1.2.13+ds1-1 | 1.2.13+ds1-1 |
| openSUSE:Leap 15.1 | cacti | before 1.2.13-11.1 | 1.2.13-11.1 |
| openSUSE:Leap 15.1 | cacti-spine | before 1.2.13-8.1 | 1.2.13-8.1 |
| SUSE:Package Hub 12 | cacti | before 1.2.13-11.1 | 1.2.13-11.1 |
| SUSE:Package Hub 12 | cacti-spine | before 1.2.13-8.1 | 1.2.13-8.1 |
| SUSE:Package Hub 15 SP1 | cacti | before 1.2.13-bp151.4.12.1 | 1.2.13-bp151.4.12.1 |
| SUSE:Package Hub 15 SP1 | cacti-spine | before 1.2.13-bp151.4.12.1 | 1.2.13-bp151.4.12.1 |
Same product
cacti: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-46169Unauthenticated Command InjectionKEV99Now
- CVE-2024-29895Cacti command injection in cmd_realtime.php70This week
- CVE-2023-39361Unauthenticated SQL Injection in graph_view.php in Cacti66This week
Published before and after this one in the same product
- ← EarlierCVE-2020-13230May 20, 2020 · In Cacti before 1.2.11, disabling a user account does not immediately invalidate any permissions granted to that account (e.g., permission…17Monitor
- ← EarlierCVE-2020-13231May 20, 2020 · In Cacti before 1.2.11, auth_profile.php?action=edit allows CSRF for an admin email change.26Monitor
- Later →CVE-2020-25706Nov 12, 2020 · A cross-site scripting (XSS) vulnerability exists in templates_import.php (Cacti 1.2.13) due to Improper escaping of error message during…25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:cacti | 1.2.13-r0 · Alpine:v3.13 | Package registry (OSV) |
| debian:cacti | 1.2.13+ds1-1 · Debian:12 | Package registry (OSV) |
| opensuse:cacti | 1.2.13-11.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:cacti-spine | 1.2.13-8.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| suse:cacti | 1.2.13-11.1 · SUSE:Package Hub 12 | Package registry (OSV) |
| suse:cacti-spine | 1.2.13-8.1 · SUSE:Package Hub 12 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2021-04-29 |
| Metasploit module | exploit/unix/http/cacti_filter_sqli_rceCacti color filter authenticated SQLi to RCEexploit | 2020-06-17 |
| Proof-of-concept repository on GitHub | stars:2 | 2021-04-28 |
| Proof-of-concept repository on GitHub | stars:0 | 2021-05-28 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploitsame day
- Published
- First PoC+315 d
- TodayNov 12, 2026+2340 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- Administrator privileges are required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W64CIB6L4HZRVQSWKPDDKXJO4J2XTOXD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZKM5G3YNSZDHDZMPCMAHG5B5M2V4XYSE/
- security.gentoo.org/glsa/202007-03
Vendor advisories and official records. Exploit/PoC links are deliberately left out.