Cross-site scripting in CUPS - CVE-2015-1159

 

Cross-site scripting in CUPS - CVE-2015-1159

Published: June 26, 2015 / Updated: July 28, 2020


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

Vulnerability details

Vulnerability allows a remote attacker to perform Cross-site scripting attacks.

An input validation error exists in the cgi_puts function in cgi-bin/template.c in the template engine in CUPS before 2.0.3 when processing QUERY parameter to help/. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security 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

CUPS
Amazon Linux AMI
Gentoo Linux
SUSE Linux
Fedora
cups (Alpine package)
cups

How to mitigate CVE-2015-1159

Update to version 2.0.3.

CUPS - update to 2.0.3
cups (Alpine package) - update to 1.7.4-r2
cups - addressed in versions 1.7.5-17.fc21, 2.0.3-1.fc22

External References

Related Security Bulletins