Bug 1348622 (CVE-2014-9770)

Summary: CVE-2014-9770 systemd: weak permissions for journal files
Product: [Other] Security Response Reporter: Cedric Buissart <cbuissar>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: johannbg, jrusnack, lnykryn, msekleta, muadda, ssahani, s, systemd-maint-list, systemd-maint, zbyszek
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: 2016-06-21 16:04:27 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:    
Bug Blocks: 1323985    

Description Cedric Buissart 2016-06-21 15:22:30 UTC
tmpfiles.d/systemd.conf in systemd v213 uses weak permissions for journal files under /run/log/journal/%m and /var/log/journal/%m, which allows local users to obtain sensitive information by reading these files. 

seclist report:
http://seclists.org/oss-sec/2016/q2/34

Suse BTS:
https://bugzilla.suse.com/show_bug.cgi?id=972612

Introduced in v213 by commit:
https://github.com/systemd/systemd/commit/a606871da508995f5ede113a8fc6538afd98966c

Fixed in v214 by commit:
https://github.com/systemd/systemd/commit/176f2acf8dee45fee832fd2ab07243f63783a238

Comment 1 Cedric Buissart 2016-06-21 15:36:58 UTC
Current RHEL version is shipped with v219, and is not affected by this issue.

Comment 2 Cedric Buissart 2016-06-22 08:56:24 UTC
Additional precision :
The vulnerability was introduced in v213. Previous RHEL7 versions (7.0, 7.1, and their asynchronous releases) are based on v207 and v208, and are not affected either.