Cross-site scripting in Loofah - CVE-2019-15587

 

Cross-site scripting in Loofah - CVE-2019-15587

Published: November 22, 2019


Vulnerability identifier: #VU22927
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2019-15587
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. A remote authenticated attacker can trick the victim to follow a specially crafted link 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.


Affected software

Loofah
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise High Availability
SUSE Linux Enterprise Server
openSUSE Leap
Ubuntu
Fedora
ruby2.1-rubygem-loofah
ruby-loofah (Ubuntu package)
ruby2.5-rubygem-loofah
ruby2.5-rubygem-loofah-doc
ruby2.5-rubygem-loofah-testsuite
rubygem-loofah

How to mitigate CVE-2019-15587

Install updates from vendor's website.

Loofah - update to 2.3.1
ruby2.1-rubygem-loofah - update to 2.0.2-3.11.1
ruby-loofah (Ubuntu package) - update to 2.0.3-2+deb9u3build0.16.04.1
ruby2.5-rubygem-loofah - update to 2.2.2-150000.4.6.1
ruby2.5-rubygem-loofah-doc - update to 2.2.2-150000.4.6.1
ruby2.5-rubygem-loofah-testsuite - update to 2.2.2-150000.4.6.1
rubygem-loofah - addressed in versions 2.2.3-4.fc30, 2.2.3-4.fc31

External References

Related Security Bulletins