CVE-2017-18190
cups: DNS rebinding attacks via incorrect whitelist
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · February 16, 2018
Updated · January 14, 2026
Description
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).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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.
CVSS / CWE
CVSS 3.0 · 5.8CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
CWE-284 · Improper Access Control