CVE-2020-14295
A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.2
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.
- Record
CVE-2020-14295- CVSS 3.1
- 7.2 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-14295- Updated
- 2026-11-02
EUVDEUVD-2020-6448 No score
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.
- Record
EUVD-2020-6448- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rwpv-9gq4-x5g3
7.2
A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter...
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.
- Record
GHSA-rwpv-9gq4-x5g3- CVSS 3.1
- 7.2 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-14295
7.2
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.
- Record
ALPINE-CVE-2020-14295- CVSS 3.1
- 7.2 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
7.2
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.
- Record
CVE-2020-14295- CVSS 3.1
- 7.2 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2020-14295
7.2
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.
- Record
DEBIAN-CVE-2020-14295- CVSS 3.1
- 7.2 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-14295
7.2
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.
- Record
UBUNTU-CVE-2020-14295- CVSS 3.1
- 7.2 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1060-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine fixes the following issues:
-
cacti 1.2.13:
- Query XSS vulnerabilities require vendor package update (CVE-2020-11022 / CVE-2020-11023)
- Lack of escaping on some pages can lead to XSS exposure
- Update PHPMailer to 6.1.6 (CVE-2020-13625)
- SQL Injection vulnerability due to input validation failure when editing colors (CVE-2020-14295, boo#1173090)
- Lack of escaping on template import can lead to XSS exposure
-
switch from cron to systemd timers (boo#1115436):
- cacti-cron.timer
- cacti-cron.service
-
avoid potential root escalation on systems with fs.protected_hardlinks=0 (boo#1154087): handle directory permissions in file section instead of using chown during post installation
-
rewrote apache configuration to get rid of .htaccess files and explicitely disable directory permissions per default (only allow a limited, well-known set of directories)
- Record
openSUSE-SU-2020:1060-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:1106-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine fixes the following issues:
-
cacti 1.2.13:
- Query XSS vulnerabilities require vendor package update (CVE-2020-11022 / CVE-2020-11023)
- Lack of escaping on some pages can lead to XSS exposure
- Update PHPMailer to 6.1.6 (CVE-2020-13625)
- SQL Injection vulnerability due to input validation failure when editing colors (CVE-2020-14295, boo#1173090)
- Lack of escaping on template import can lead to XSS exposure
-
switch from cron to systemd timers (boo#1115436):
- cacti-cron.timer
- cacti-cron.service
-
avoid potential root escalation on systems with fs.protected_hardlinks=0 (boo#1154087): handle directory permissions in file section instead of using chown during post installation
-
rewrote apache configuration to get rid of .htaccess files and explicitely disable directory permissions per default (only allow a limited, well-known set of directories)
This update was imported from the openSUSE:Leap:15.1:Update update project.
- Record
openSUSE-SU-2020:1106-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10670-1 No score
cacti-1.2.18-1.2 on GA media
These are all security issues fixed in the cacti-1.2.18-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10670-1- Updated
- 2026-11-02
OSVUSN-5214-1 No score
cacti vulnerabilities
It was discovered that Cacti was incorrectly validating permissions for user accounts that had been recently disabled. An authenticated attacker could possibly use this to obtain unauthorized access to application and system data. (CVE-2020-13230)
It was discovered that Cacti was incorrectly performing authorization checks in auth_profile.php. A remote unauthenticated attacker could use this to perform a CSRF attack and set a new admin email or make other changes. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-13231)
It was discovered that Cacti incorrectly handled user provided input sent through request parameters to the color.php script. A remote authenticated attacker could use this issue to perform SQL injection attacks. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-14295)
It was discovered that Cacti did not properly escape file input fields when performing template import operations for various themes. An authenticated attacker could use this to perform XSS attacks. This issue only affected Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-14424)
It was discovered that Cacti incorrectly handled user provided input sent through request parameters to the data_debug.php script. A remote authenticated attacker could use this issue to perform SQL injection attacks. This issue only affected Ubuntu 20.04 ESM. (CVE-2020-35701)
- Record
USN-5214-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cactiAlpine:v3.13 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.14 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.15 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.16 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.17 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.18 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.19 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.20 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.21 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.22 |
before 1.2.13-r0 | 1.2.13-r0 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cactiAlpine:v3.23 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiAlpine:v3.24 |
before 1.2.13-r0 | 1.2.13-r0 |
cactiDebian:12 |
before 1.2.13+ds1-1 | 1.2.13+ds1-1 |
cactiDebian:13 |
before 1.2.13+ds1-1 | 1.2.13+ds1-1 |
cactiDebian:14 |
before 1.2.13+ds1-1 | 1.2.13+ds1-1 |
cactiUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.8.8b+dfsg-30.8.8b+dfsg-50.8.8b+dfsg-5ubuntu0.10.8.8b+dfsg-5ubuntu0.20.8.8b+dfsg-5ubuntu0.2+esm10.8.8b+dfsg-5ubuntu0.2+esm2 |
None known |
cactiUbuntu:Pro:18.04:LTS |
before 1.1.38+ds1-1ubuntu0.1~esm1, plus listed versions 1.1.18+ds1-11.1.27+ds1-21.1.27+ds1-31.1.28+ds1-21.1.35+ds1-11.1.36+ds1-11.1.38+ds1-1 |
1.1.38+ds1-1ubuntu0.1~esm1 |
cactiUbuntu:Pro:20.04:LTS |
before 1.2.10+ds1-1ubuntu1+esm1, plus listed versions 1.2.4+ds1-2ubuntu31.2.9+ds1-1ubuntu11.2.9+ds1-1ubuntu21.2.10+ds1-1ubuntu1 |
1.2.10+ds1-1ubuntu1+esm1 |
cactiUbuntu:Pro:16.04:LTS |
before 0.8.8f+ds1-4ubuntu4.16.04.2+esm1, plus listed versions 0.8.8f+ds1-20.8.8f+ds1-30.8.8f+ds1-40.8.8f+ds1-4ubuntu10.8.8f+ds1-4ubuntu2 Show 5 moreShow less0.8.8f+ds1-4ubuntu30.8.8f+ds1-4ubuntu40.8.8f+ds1-4ubuntu4.16.040.8.8f+ds1-4ubuntu4.16.04.10.8.8f+ds1-4ubuntu4.16.04.2 |
0.8.8f+ds1-4ubuntu4.16.04.2+esm1 |
cactiSUSE:Package Hub 12 |
before 1.2.13-11.1 | 1.2.13-11.1 |
cacti-spineSUSE:Package Hub 12 |
before 1.2.13-8.1 | 1.2.13-8.1 |
cactiopenSUSE:Leap 15.1 |
before 1.2.13-11.1 | 1.2.13-11.1 |
cacti-spineopenSUSE:Leap 15.1 |
before 1.2.13-8.1 | 1.2.13-8.1 |
cactiopenSUSE:Leap 15.2 |
before 1.2.13-11.1 | 1.2.13-11.1 |
cacti-spineopenSUSE:Leap 15.2 |
before 1.2.13-8.1 | 1.2.13-8.1 |
cactiSUSE:Package Hub 15 SP1 |
before 1.2.13-bp151.4.12.1 | 1.2.13-bp151.4.12.1 |
cacti-spineSUSE:Package Hub 15 SP1 |
before 1.2.13-bp151.4.12.1 | 1.2.13-bp151.4.12.1 |
cactiopenSUSE:Tumbleweed |
before 1.2.18-1.2 | 1.2.18-1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | Cacti color filter authenticated SQLi to RCE | 2020-06-17 |
| PoC in GitHub | 0z09e/CVE-2020-14295 | 2021-04-28 |
| Exploit-DB | Cacti 1.2.12 - 'filter' SQL Injection | 2021-04-29 |
| PoC in GitHub | mrg3ntl3m4n/CVE-2020-14295 | 2021-05-28 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, exploits, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, Metasploit, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-14295 is a high vulnerability (CVSS 7.2) in Cacti, published June 17, 2020. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 86.1%, the 99th percentile. Fixed in cacti 1.2.13-r0.
References
github.com/Cacti/cacti/issues/3622
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZKM5G3YNSZDHDZMPCMAHG5B5M2V4XYSE
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W64CIB6L4HZRVQSWKPDDKXJO4J2XTOXD
lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html
security.gentoo.org/glsa/202007-03
lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
Show 52 moreShow less
packetstormsecurity.com/files/162384/Cacti-1.2.12-SQL-Injection-Remote-Code-Execution.html
packetstormsecurity.com/files/162918/Cacti-1.2.12-SQL-Injection-Remote-Command-Execution.html
nvd.nist.gov/vuln/detail/CVE-2020-14295
lists.fedoraproject.org/archives/list/[email protected]/message/W64CIB6L4HZRVQSWKPDDKXJO4J2XTOXD
lists.fedoraproject.org/archives/list/[email protected]/message/ZKM5G3YNSZDHDZMPCMAHG5B5M2V4XYSE
github.com/advisories/GHSA-rwpv-9gq4-x5g3
security.alpinelinux.org/vuln/CVE-2020-14295
security-tracker.debian.org/tracker/CVE-2020-14295
ubuntu.com/security/CVE-2020-14295
ubuntu.com/security/notices/USN-5214-1
cve.org/CVERecord?id=CVE-2020-14295
ubuntu.com/security/CVE-2020-13230
ubuntu.com/security/CVE-2020-13231
ubuntu.com/security/CVE-2020-14424
ubuntu.com/security/CVE-2020-35701
lists.opensuse.org/archives/list/[email protected]/thread/VVPI65AW45TXMRAYCWJ6YJT3LF4GIMWL
bugzilla.suse.com/1115436
bugzilla.suse.com/1154087
bugzilla.suse.com/1173090
suse.com/security/cve/CVE-2020-11022
suse.com/security/cve/CVE-2020-11023
suse.com/security/cve/CVE-2020-13625
suse.com/security/cve/CVE-2020-14295
lists.opensuse.org/archives/list/[email protected]/thread/4IXKYESUUIOBHBKL32YKWOWHSJKS7RN3
suse.com/security/cve/CVE-2006-6799
suse.com/security/cve/CVE-2007-3112
suse.com/security/cve/CVE-2009-4112
suse.com/security/cve/CVE-2014-4000
suse.com/security/cve/CVE-2017-10970
suse.com/security/cve/CVE-2017-11163
suse.com/security/cve/CVE-2017-11691
suse.com/security/cve/CVE-2017-12065
suse.com/security/cve/CVE-2017-12927
suse.com/security/cve/CVE-2017-12978
suse.com/security/cve/CVE-2017-15194
suse.com/security/cve/CVE-2017-16641
suse.com/security/cve/CVE-2017-16660
suse.com/security/cve/CVE-2017-16661
suse.com/security/cve/CVE-2017-16785
suse.com/security/cve/CVE-2018-20723
suse.com/security/cve/CVE-2018-20724
suse.com/security/cve/CVE-2018-20725
suse.com/security/cve/CVE-2018-20726
suse.com/security/cve/CVE-2019-16723
suse.com/security/cve/CVE-2019-17357
suse.com/security/cve/CVE-2019-17358
suse.com/security/cve/CVE-2020-14424
suse.com/security/cve/CVE-2020-25706
suse.com/security/cve/CVE-2020-35701
suse.com/security/cve/CVE-2020-7106
suse.com/security/cve/CVE-2020-7237
suse.com/security/cve/CVE-2020-8813