Bug 1546395 (CVE-2017-18190)

Summary: CVE-2017-18190 cups: DNS rebinding attacks via incorrect whitelist
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jpopelka, kyoshida, security-response-team, twaugh, zdohnal
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cups 2.2.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 21:57:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1823758    
Bug Blocks: 1823329    

Description Laura Pardo 2018-02-16 23:10:18 UTC
A flaw was found in CUPS. 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).

External References:
https://bugs.chromium.org/p/project-zero/issues/detail?id=1048

Upstream Patch:
https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41

Comment 8 Stefan Cornelius 2020-04-15 17:28:01 UTC
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.

Comment 9 errata-xmlrpc 2020-09-29 19:21:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3864 https://access.redhat.com/errata/RHSA-2020:3864

Comment 10 Product Security DevOps Team 2020-09-29 21:57:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-18190