CVE-2017-18190
published 2018-02-16CVE-2017-18190: A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by…
PriorityP350high7.5CVSS 3.0
AVNACLPRNUINSUCNIHAN
EPSS
2.98%
85.8th percentile
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | cups | < 2.2.2 | 2.2.2 |
| apple | cups | >= 0 < 2.2.3-2 | 2.2.3-2 |
| apple | cups | >= 0 < 2.2.3-2 | 2.2.3-2 |
| apple | cups | >= 0 < 2.2.3-2 | 2.2.3-2 |
| apple | cups | >= 0 < 2.2.3-2 | 2.2.3-2 |
| apple | cups | >= 0 < 1.7.2-0ubuntu1.9 | 1.7.2-0ubuntu1.9 |
| apple | cups | >= 0 < 2.1.3-4ubuntu0.4 | 2.1.3-4ubuntu0.4 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | cups | < cups 2.2.3-2 (bookworm) | cups 2.2.3-2 (bookworm) |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
CUPS vulnerability
vendor_ubuntu·2018-02-21·CVSS 7.5
CVE-2017-18190 [HIGH] CUPS vulnerability
Title: CUPS vulnerability
Summary: CUPS could be made to provide access to printers over the network.
Jann Horn discovered that CUPS permitted HTTP requests with the Host
header set to "localhost.localdomain" from the loopback interface. If a
user were tricked in to opening a specially crafted website in their web
browser, an attacker could potentially exploit this to obtain sensitive
information or control printers, via a DNS rebinding attack.
(CVE-2017-18190)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
cups: DNS rebinding attacks via incorrect whitelist
vendor_redhat·2018-02-16·CVSS 7.5
CVE-2017-18190 [HIGH] CWE-284 cups: DNS rebinding attacks via incorrect whitelist
cups: DNS rebinding attacks via incorrect whitelist
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
Mitigation: Ensure that "localhost.localdomain" resolves to 127.0.0.1, for example by adding it to /etc/hosts. This is the default on Red Hat Enterprise Linux 7.
Package: cups (Red Hat Enterprise Linux 5) - Not affected
Package: cups (Red Hat Enterprise Linux 6) - Out of support scope
Package: cups (Red Hat Enterprise Linux 8) - Not
Debian
CVE-2017-18190: cups - A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in...
vendor_debian·2017·CVSS 7.5
CVE-2017-18190 [HIGH] CVE-2017-18190: cups - A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in...
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
Scope: local
bookworm: resolved (fixed in 2.2.3-2)
bullseye: resolved (fixed in 2.2.3-2)
forky: resolved (fixed in 2.2.3-2)
sid: resolved (fixed in 2.2.3-2)
trixie: resolved (fixed in 2.2.3-2)
GHSA
GHSA-vfqc-qhm9-65mm: A localhost
ghsa_unreviewed·2022-05-13
CVE-2017-18190 [HIGH] CWE-290 GHSA-vfqc-qhm9-65mm: A localhost
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
OSV
cups vulnerability
osv·2018-02-21·CVSS 7.5
CVE-2017-18190 [HIGH] cups vulnerability
cups vulnerability
Jann Horn discovered that CUPS permitted HTTP requests with the Host
header set to "localhost.localdomain" from the loopback interface. If a
user were tricked in to opening a specially crafted website in their web
browser, an attacker could potentially exploit this to obtain sensitive
information or control printers, via a DNS rebinding attack.
(CVE-2017-18190)
OSV
CVE-2017-18190: A localhost
osv·2018-02-16·CVSS 7.5
CVE-2017-18190 [HIGH] CVE-2017-18190: A localhost
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
No detection rules found.
No public exploits indexed.
https://bugs.chromium.org/p/project-zero/issues/detail?id=1048https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41https://lists.debian.org/debian-lts-announce/2018/02/msg00023.htmlhttps://lists.debian.org/debian-lts-announce/2018/07/msg00003.htmlhttps://usn.ubuntu.com/3577-1/https://bugs.chromium.org/p/project-zero/issues/detail?id=1048https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41https://lists.debian.org/debian-lts-announce/2018/02/msg00023.htmlhttps://lists.debian.org/debian-lts-announce/2018/07/msg00003.htmlhttps://usn.ubuntu.com/3577-1/
2018-02-16
Published