Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1115576 - (CVE-2014-3537) CVE-2014-3537 cups: insufficient checking leads to privilege escalation
CVE-2014-3537 cups: insufficient checking leads to privilege escalation
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140714,repor...
: Patch, Security
Depends On: 1117794 1118263 1119303
Blocks: 1101912 1115577
  Show dependency treegraph
 
Reported: 2014-07-02 12:07 EDT by Francisco Alonso
Modified: 2015-07-27 09:27 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was discovered that CUPS allowed certain users to create symbolic links in certain directories under /var/cache/cups/. A local user with the 'lp' group privileges could use this flaw to read the contents of arbitrary files on the system or, potentially, escalate their privileges on the system.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-26 17:43:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
CUPS Bugs and Features 4450 None None None Never
Red Hat Product Errata RHSA-2014:1388 normal SHIPPED_LIVE Moderate: cups security and bug fix update 2014-10-13 21:21:38 EDT

  None (edit)
Description Francisco Alonso 2014-07-02 12:07:26 EDT
It was discovered that a local user with privileges of group=lp can write symbolic links in the rss directory and use that to gain '@SYSTEM' group privilege with cupsd.

Permissions:

drwxrwxr-x.  2 root lp   4096 Jul  2 09:58 /var/cache/cups/rss

SELinux mitigates this vulnerability
Comment 1 Francisco Alonso 2014-07-02 12:13:27 EDT
Acknowledgment:

This issue was discovered by Francisco Alonso of the Red Hat Security Response Team.
Comment 7 Francisco Alonso 2014-07-10 05:16:41 EDT
Statement:

This issue is not planned to be fixed in Red Hat Enterprise Linux 5 as it is now in Production 3 Phase of the support and maintenance life cycle, https://access.redhat.com/support/policy/updates/errata/
Comment 9 Francisco Alonso 2014-07-14 09:19:17 EDT
Patch for symlink: https://cups.org/strfiles.php/3363/str4450.patch
Fixed In: 2.0-current (SVN: r11993)

References:

http://www.cups.org/blog.php?L724
https://cups.org/str.php?L4450
Comment 10 Francisco Alonso 2014-07-14 09:20:35 EDT
Created cups tracking bugs for this issue:

Affects: fedora-all [bug 1119303]
Comment 11 Fedora Update System 2014-07-19 02:00:33 EDT
cups-1.7.4-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 14 Francisco Alonso 2014-08-11 10:37:51 EDT
This fix is insufficient, the additional check can be easily bypassed if language[0] is NULL. The CVE-2014-5029 id has been assigned for the incomplete fix.

http://seclists.org/oss-sec/2014/q3/209
Comment 15 Tomas Hoger 2014-08-11 14:32:53 EDT
The incomplete fix CVE-2014-5029 is tracked via bug 1122600.
Comment 16 Fedora Update System 2014-10-02 23:57:09 EDT
cups-1.6.4-10.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 17 Martin Prpič 2014-10-07 04:44:55 EDT
IssueDescription:

It was discovered that CUPS allowed certain users to create symbolic links in certain directories under /var/cache/cups/. A local user with the 'lp' group privileges could use this flaw to read the contents of arbitrary files on the system or, potentially, escalate their privileges on the system.
Comment 18 errata-xmlrpc 2014-10-14 03:31:42 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1388 https://rhn.redhat.com/errata/RHSA-2014-1388.html
Comment 19 Tomas Hoger 2015-03-26 17:43:39 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHBA-2015:0386 https://rhn.redhat.com/errata/RHBA-2015-0386.html

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