Bug 1455094 (CVE-2017-15131)

Summary: CVE-2017-15131 xdg-user-dirs, gnome-session: Xsession creation of XDG user directories does not honor system umask policy
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alexl, jmccann, mclasen, rstrode
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
It was found that the system umask policy is not being honored when creating XDG user directories (~/Desktop etc) on first login. This could lead to user's files being inadvertently exposed to other local users.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:13:24 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: 1455095, 1455096, 1532915    
Bug Blocks: 1455099, 1498774    

Description Adam Mariš 2017-05-24 09:22:13 UTC
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy.

Product bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1412762

Comment 1 Adam Mariš 2017-05-24 09:22:34 UTC
Created gnome-session tracking bugs for this issue:

Affects: fedora-all [bug 1455095]


Created xdg-user-dirs tracking bugs for this issue:

Affects: fedora-all [bug 1455096]

Comment 3 errata-xmlrpc 2018-04-10 08:25:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0842 https://access.redhat.com/errata/RHSA-2018:0842