Stored cross-site scripting in Cacti - CVE-2020-7106

 

Stored cross-site scripting in Cacti - CVE-2020-7106

Published: January 16, 2020 / Updated: May 19, 2022


Vulnerability identifier: #VU24356
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2020-7106
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "description" parameter. A remote attacker can permanently inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

This vulnerability affects the following files:

  • data_sources.php
  • color_templates_item.php
  • graphs.php
  • graph_items.php
  • lib/api_automation.php
  • user_admin.php
  • user_group_admin.php

Affected software

Cacti
Gentoo Linux
Fedora
SUSE Linux
Opensuse
cacti (Alpine package)
cacti
cacti-spine
SUSE Package Hub for SUSE Linux Enterprise

How to mitigate CVE-2020-7106

Install update from vendor's website.

cacti (Alpine package) - update to 1.2.10-r0
cacti - addressed in versions 1.2.9-1.el7, 1.2.9-1.el8, 1.2.9-1.fc30, 1.2.9-1.fc31
cacti-spine - addressed in versions 1.2.9-1.el7, 1.2.9-1.el8, 1.2.9-1.fc30, 1.2.9-1.fc31

External References

Related Security Bulletins