Every CVE Search/ Get API key

CVE-2020-14295

A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter...

7.2 HighPublic exploitFix available

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

86.1%Up 82.9 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
cacti
Alpine:v3.13
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.14
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.15
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.16
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.17
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.18
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.19
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.20
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.21
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.22
before 1.2.13-r0
1.2.13-r0
Show 18 moreShow less
Affected packages
PackageAffectedFixed
cacti
Alpine:v3.23
before 1.2.13-r0
1.2.13-r0
cacti
Alpine:v3.24
before 1.2.13-r0
1.2.13-r0
cacti
Debian:12
before 1.2.13+ds1-1
1.2.13+ds1-1
cacti
Debian:13
before 1.2.13+ds1-1
1.2.13+ds1-1
cacti
Debian:14
before 1.2.13+ds1-1
1.2.13+ds1-1
cacti
Ubuntu: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
cacti
Ubuntu: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
cacti
Ubuntu: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
cacti
Ubuntu: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 less
0.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
cacti
SUSE:Package Hub 12
before 1.2.13-11.1
1.2.13-11.1
cacti-spine
SUSE:Package Hub 12
before 1.2.13-8.1
1.2.13-8.1
cacti
openSUSE:Leap 15.1
before 1.2.13-11.1
1.2.13-11.1
cacti-spine
openSUSE:Leap 15.1
before 1.2.13-8.1
1.2.13-8.1
cacti
openSUSE:Leap 15.2
before 1.2.13-11.1
1.2.13-11.1
cacti-spine
openSUSE:Leap 15.2
before 1.2.13-8.1
1.2.13-8.1
cacti
SUSE:Package Hub 15 SP1
before 1.2.13-bp151.4.12.1
1.2.13-bp151.4.12.1
cacti-spine
SUSE:Package Hub 15 SP1
before 1.2.13-bp151.4.12.1
1.2.13-bp151.4.12.1
cacti
openSUSE:Tumbleweed
before 1.2.18-1.2
1.2.18-1.2

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
MetasploitCacti color filter authenticated SQLi to RCE2020-06-17
PoC in GitHub0z09e/CVE-2020-142952021-04-28
Exploit-DBCacti 1.2.12 - 'filter' SQL Injection2021-04-29
PoC in GitHubmrg3ntl3m4n/CVE-2020-142952021-05-28

History

History
RecordedChangedSources
affected, aliases, exploits, referencesOSV
aliasesEUVD
first indexedCVE 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

Show 52 moreShow less
MoveEnter Open