Bug 1266161

Summary: initial-setup: File /root/initial-setup-ks.cfg is world-readable by default
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: mkolman, vpodzime
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-26 12:42:53 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: 1264336    
Bug Blocks: 1266162    

Description Adam Mariš 2015-09-24 16:05:28 UTC
It was reported that file /root/initial-setup-ks.cfg is world-readable:

-rw-------.  1 root root  1725 Sep  1 13:59 anaconda-ks.cfg
-rw-r--r--.  1 root root  1773 Sep  1 14:04 initial-setup-ks.cfg

Product bug:

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

Comment 1 Tomas Hoger 2015-09-26 12:42:53 UTC
While the initial-setup-ks.cfg file is world readable, it is stored in the /root directory which is not world accessible (the default permissions in Red Hat Enterprise Linux 7 a 550 root:root).

This issue is planned to be addressed in future updates as security hardening, but is not planned to be handled as security flaw.