Bug 1607291 (CVE-2018-4181)

Summary: CVE-2018-4181 cups: Manipulation of cupsd.conf by a local attacker resulting in limited reads of arbitrary files as root
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bmcclain, dblechte, dfediuck, dmoppert, eedri, jpopelka, mgoldboi, michal.skrivanek, sbonazzo, sherold, twaugh, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:32:50 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: 1607293, 1607295, 1619490    
Bug Blocks: 1607292    

Description Andrej Nemec 2018-07-23 08:24:50 UTC
It was found that a local attacker can perform limited reads of arbitrary files as root by manipulating cupsd.conf.

Upstream patch:

https://github.com/apple/cups/commit/d47f6aec436e0e9df6554436e391471097686ecc

Comment 1 Andrej Nemec 2018-07-23 08:31:00 UTC
Created cups tracking bugs for this issue:

Affects: fedora-all [bug 1607293]

Comment 3 Doran Moppert 2018-08-21 03:32:35 UTC
Similar to CVE-2018-4180, this attack vector is only available to users in the cups SystemGroup groups, who can manipulate cupsd.conf using cupsctl.  Impact is further limited when SELinux is enforcing as cupsd operates under a restricted context cupsd_t.

Comment 7 errata-xmlrpc 2020-03-31 19:16:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 8 Product Security DevOps Team 2020-03-31 22:32:50 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-2018-4181