CVE-2017-18190 json
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbit…
published 8y ago modified 4mo ago also EUVD-2017-9325
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- apple cups 2.2.2
- cups Debian 14, Debian 13, Debian 12 2.2.3-2
debian advisories DEBIAN-CVE-2017-18190
- cups Ubuntu 14.04 LTS 1.7.2-0ubuntu1.9
- cups Ubuntu 16.04 LTS 2.1.3-4ubuntu0.4
ubuntu advisories UBUNTU-CVE-2017-18190
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- cups RHEL 7 1:1.6.3-51.el7
- cups-lpd RHEL 7 1:1.6.3-51.el7
- cups-libs RHEL 7 1:1.6.3-51.el7
- cups-client RHEL 7 1:1.6.3-51.el7
- cups-ipptool RHEL 7 1:1.6.3-51.el7
- cups-filesystem RHEL 7 1:1.6.3-51.el7
red hat advisories RHSA-2020:3864
- cups SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for SAP 12 SP1 +10 more 1.7.5-20.3.1
suse advisories SUSE-SU-2018:0604-1
- cups Alpine 3.5 2.2.2-r0
alpine advisories ALPINE-CVE-2017-18190
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2017-18190 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18190 updated cvss 5.8
cups: DNS rebinding attacks via incorrect whitelist
-
Red Hat Enterprise Linux 6 cups, cups-lpd, cups-php, cups-libsaffected: workaround, no fix planned “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.”
-
Red Hat Enterprise Linux Client (v. 7) cups 1.6.3-51.el7, cups-lpd 1.6.3-51.el7, cups-libs 1.6.3-51.el7, cups-client 1.6.3-51.el7, cups-filesystem 1.6.3-51.el7 Red Hat Enterprise Linux Client Optional (v. 7) cups-ipptool 1.6.3-51.el7 Red Hat Enterprise Linux ComputeNode (v. 7) cups 1.6.3-51.el7, cups-lpd 1.6.3-51.el7, cups-libs 1.6.3-51.el7, cups-client 1.6.3-51.el7, cups-filesystem 1.6.3-51.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) cups-ipptool 1.6.3-51.el7 Red Hat Enterprise Linux Server (v. 7) cups 1.6.3-51.el7, cups-lpd 1.6.3-51.el7, cups-libs 1.6.3-51.el7, cups-client 1.6.3-51.el7, cups-filesystem 1.6.3-51.el7 Red Hat Enterprise Linux Server Optional (v. 7) cups-ipptool 1.6.3-51.el7fixed: vendor fix “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.” RHSA-2020:3864
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) cups 1.6.3-51.el7, cups-lpd 1.6.3-51.el7, cups-libs 1.6.3-51.el7, cups-client 1.6.3-51.el7, cups-filesystem 1.6.3-51.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) cups-ipptool 1.6.3-51.el7 -
Red Hat Enterprise Linux 5 cups Red Hat Enterprise Linux 8 cups, cups-lpd, cups-libs, cups-client, cups-ipptool, cups-filesystemnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.92% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.chromium.org https://bugs.chromium.org/p/project-zero/issues/detail?id=1048 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-290 Authentication Bypass by Spoofing
References
-
github.com
/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41
patch, third-party-advisory
-
bugs.chromium.org
/p/project-zero/issues/detail?id=1048
exploit, issue-tracking, third-party-advisory
-
usn.ubuntu.com
/3577-1/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/07/msg00003.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/02/msg00023.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-18190
- NVD CVE-2017-18190
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.