Bug 1546395 (CVE-2017-18190) - CVE-2017-18190 cups: DNS rebinding attacks via incorrect whitelist
Summary: CVE-2017-18190 cups: DNS rebinding attacks via incorrect whitelist
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-18190
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1823758
Blocks: 1823329
TreeView+ depends on / blocked
 
Reported: 2018-02-16 23:10 UTC by Laura Pardo
Modified: 2023-10-06 17:43 UTC (History)
5 users (show)

Fixed In Version: cups 2.2.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 21:57:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3864 0 None None None 2020-09-29 19:21:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.