Bug 706976

Summary: config file permissions are world readable
Product: Red Hat Enterprise Linux 6 Reporter: Steve Grubb <sgrubb>
Component: xinetdAssignee: Vojtech Vitek <vvitek>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: azelinka, borgan, hripps, ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the configuration files of the xinetd utility were readable for all users. This update makes the permissions more restrictive and the configuration files are now readable only by root.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 17:56:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch to fix the problem none

Description Steve Grubb 2011-05-23 16:35:10 UTC
Description of problem:
The DISA STIG calls out for xinetd's config files be 0640 or more restrictive. There are many files that are 0644. We need to align permissions so there is less things to lockdown out of the box.

Comment 5 Steve Grubb 2011-08-12 14:20:03 UTC
Created attachment 518035 [details]
Patch to fix the problem

This patch fixes the problem. It can be addressed from the spec file and no mucking around with make files. In my opinion, this still should be addressed in 6.2 because these file permissions are way off for a large number of customers.

Comment 12 Tomas Capek 2011-10-26 13:36:16 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the configuration files of the xinetd utility were readable for all users. This update makes the permissions more restrictive and the configuration files are now readable only by root.

Comment 13 errata-xmlrpc 2011-12-06 17:56:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1713.html