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


| Updated: 2020-07-28

Vulnerability identifier: #VU32417

Vulnerability risk: Low

CVSSv4.0: 2.7 [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/E:U/U:Clear]

CVE-ID: CVE-2015-1159

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
CUPS
Server applications / Other server solutions

Vendor: Apple Inc.

Description

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.

Mitigation
Update to version 2.0.3.

Vulnerable software versions

CUPS: 2.0.0 - 2.0.2


External links
https://googleprojectzero.blogspot.in/2015/06/owning-internet-printing-case-study-in.html
https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10702
https://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html
https://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html
https://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html
https://rhn.redhat.com/errata/RHSA-2015-1123.html
https://www.cups.org/blog.php?L1082
https://www.debian.org/security/2015/dsa-3283
https://www.kb.cert.org/vuls/id/810572
https://www.securityfocus.com/bid/75106
https://www.securitytracker.com/id/1032556
https://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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability