Bug 1431484

Summary: openstack-ironic-inspector: /var/log/ironic-inspector is world readable
Product: Red Hat OpenStack Reporter: Summer Long <slong>
Component: openstack-ironic-inspectorAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: achernet, apevec, athomas, dtantsur, eglynn, jruzicka, jschluet, lhh, lmartins, mburns, pkilambi, rbartal, rhel-osp-director-maint, slinaber, srevivo, ssmolyak
Target Milestone: rcKeywords: Security, Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ironic-inspector-5.0.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1431483
: 1431485 (view as bug list) Environment:
Last Closed: 2017-05-17 20:06:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Summer Long 2017-03-13 01:10:10 UTC
Description of problem:
The directory /var/log/ironic-inspector is world readable and contains log files that are readable, which can result in the exposure of sensitive information. The 'other readable/execute' bits need to be removed from the /var/log/ironic directory.

Because no sensitive data was found in the files, this is being raised as a hardening bug, and not a flaw.

Version-Release number of selected component (if applicable):
openstack-ironic-inspector-5.0.1-0.20170214181727.babc2b6.el7ost

Comment 1 Dmitry Tantsur 2017-03-13 09:28:15 UTC
RDO master patch: https://review.rdoproject.org/r/#/c/5786/

Comment 2 Dmitry Tantsur 2017-03-13 12:33:24 UTC
Fix merged in RDO: https://review.rdoproject.org/r/#/c/5792/

Comment 4 Alexander Chuzhoy 2017-03-20 14:27:07 UTC
verified:
Environment:
openstack-ironic-inspector-5.0.0-2.el7ost.noarch



[root@undercloud-0 ~]# ls -la /var/log/ironic-inspector/ -d                                                                                                                                   
drwxr-x---. 3 ironic-inspector ironic-inspector 4096 Mar 20 03:40 /var/log/ironic-inspector/

Comment 6 errata-xmlrpc 2017-05-17 20:06:55 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.

https://access.redhat.com/errata/RHEA-2017:1245