Cross-site scripting in CUPS - CVE-2015-1159
Published: June 26, 2015 / Updated: July 28, 2020
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
Amazon Linux AMI
Gentoo Linux
Debian Linux
SUSE Linux
Ubuntu
Fedora
cups (Alpine package)
cups (Debian package)
cups (Ubuntu package)
cups
How to mitigate CVE-2015-1159
cups (Alpine package) - update to 1.7.4-r2
cups (Debian package) - addressed in versions 1.4.4-7+squeeze8, 1.5.3-5+deb7u6, 1.7.5-11+deb8u1
cups (Ubuntu package) - addressed in versions 1.5.3-0ubuntu8.7, 1.7.2-0ubuntu1.6, 1.7.5-3ubuntu3.2, 2.0.2-1ubuntu3.1
cups - addressed in versions 1.7.5-17.fc21, 2.0.3-1.fc22
External References
- http://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
- http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
- http://rhn.redhat.com/errata/RHSA-2015-1123.html
- http://www.cups.org/blog.php?L1082
- http://www.debian.org/security/2015/dsa-3283
- http://www.kb.cert.org/vuls/id/810572
- http://www.securityfocus.com/bid/75106
- http://www.securitytracker.com/id/1032556
- http://www.ubuntu.com/usn/USN-2629-1
- https://bugzilla.opensuse.org/show_bug.cgi?id=924208
- https://bugzilla.redhat.com/show_bug.cgi?id=1221642
- https://code.google.com/p/google-security-research/issues/detail?id=455
- https://security.gentoo.org/glsa/201510-07
- https://www.cups.org/str.php?L4609