CVE-2020-35701 SQL injection in n/a
Authenticated attackers can exploit SQL injection in Cacti to execute arbitrary commands and potentially achieve remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35701?
CVE-2020-35701 is a high-severity SQL injection vulnerability in Cacti Cacti, published on 11 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in Cacti 1.2.x through 1.2.16. A SQL injection vulnerability in data_debug.php allows remote authenticated attackers to execute arbitrary SQL commands via the site_id parameter. This can lead to remote code execution.
Weakness: CWE-89
Which versions are affected by CVE-2020-35701?
It affects 2 products.
Linux distribution packages (6)
cacti SUSE:Package Hub 12 | All versions | 1.2.17-20.1 |
cacti-spine SUSE:Package Hub 12 | All versions | 1.2.17-14.1 |
cacti SUSE:Package Hub 15 SP2 | All versions | 1.2.17-bp152.2.10.1 |
cacti-spine SUSE:Package Hub 15 SP2 | All versions | 1.2.17-bp152.2.7.1 |
cacti openSUSE:Leap 15.2 | All versions | 1.2.17-20.1 |
cacti-spine openSUSE:Leap 15.2 | All versions | 1.2.17-14.1 |
Products include Cacti Cacti, Fedoraproject Fedora.
How do I fix CVE-2020-35701?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-35701 being exploited?
There is no known exploitation of CVE-2020-35701 in the wild and no public exploit code.
Other vulnerabilities in Cacti Cacti
- CVE-2022-46169 Cacti Command Injection
- CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
- CVE-2026-39938 Cacti: Unauthenticated RCE on Graph Image
- CVE-2026-39955 Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
- CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti
Sources
Also known as DEBIAN-CVE-2020-35701, GHSA-jprc-322p-6cp4, UBUNTU-CVE-2020-35701, openSUSE-SU-2021:0755-1, openSUSE-SU-2021:0787-1.