CVE-2020-7106 Cross-site scripting in n/a

Medium 6.1 Published Updated

Stored XSS in Cacti allows attackers to inject malicious scripts via description fields, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-7106?

CVE-2020-7106 is a medium-severity cross-site scripting vulnerability in Cacti Cacti, published on 16 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cacti 1.2.8 has stored XSS in data_sources.php, color_templates_item.php, graphs.php, graph_items.php, lib/api_automation.php, user_admin.php, and user_group_admin.php, as demonstrated by the description parameter in data_sources.php (a raw string from the database that is displayed by $header to trigger the XSS).

Weakness: CWE-79

Which versions are affected by CVE-2020-7106?

It affects 7 products.

Linux distribution packages (6)
cacti SUSE:Package Hub 12All versions1.2.12-bp151.4.9.1
cacti-spine SUSE:Package Hub 12All versions1.2.12-bp151.4.9.1
cacti SUSE:Package Hub 15 SP1All versions1.2.12-bp151.4.9.1
cacti-spine SUSE:Package Hub 15 SP1All versions1.2.12-bp151.4.9.1
cacti openSUSE:Leap 15.1All versions1.2.12-bp151.4.9.1
cacti-spine openSUSE:Leap 15.1All versions1.2.12-bp151.4.9.1

Products include Cacti Cacti, Debian Debian Linux, Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Opensuse Backports Sle, Opensuse Leap and 1 more.

How do I fix CVE-2020-7106?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2020-7106 being exploited?

There is no known exploitation of CVE-2020-7106 in the wild and no public exploit code.

All Cacti Cacti vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-7106, DLA-2069-1, GHSA-4x8f-h58h-jh6h, UBUNTU-CVE-2020-7106, openSUSE-SU-2020:0654-1.

Is CVE-2020-7106 in your software?

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

Check your SBOMs for free