CVE-2020-35701 SQL injection in n/a

High 8.8 Published Updated

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 12All versions1.2.17-20.1
cacti-spine SUSE:Package Hub 12All versions1.2.17-14.1
cacti SUSE:Package Hub 15 SP2All versions1.2.17-bp152.2.10.1
cacti-spine SUSE:Package Hub 15 SP2All versions1.2.17-bp152.2.7.1
cacti openSUSE:Leap 15.2All versions1.2.17-20.1
cacti-spine openSUSE:Leap 15.2All versions1.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.

All Cacti Cacti vulnerabilities

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.

Is CVE-2020-35701 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free