Bug 1431468 - openstack-ironic: /var/log/ironic is world readable
Summary: openstack-ironic: /var/log/ironic is world readable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 11.0 (Ocata)
Assignee: Derek Higgins
QA Contact: mlammon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-13 00:07 UTC by Summer Long
Modified: 2017-09-27 19:09 UTC (History)
13 users (show)

Fixed In Version: openstack-ironic-7.0.1-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1431466
: 1431479 (view as bug list)
Environment:
Last Closed: 2017-09-27 19:09:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 6149 0 None None None 2017-04-25 09:52:59 UTC

Description Summer Long 2017-03-13 00:07:09 UTC
Description of problem:
The directory /var/log/ironic 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-7.0.1-0.20170223011831.a13ea4f.el7ost

How reproducible:
List /var/log directory for openstack-ironic:
$ ls -la ironic/
total 1072
drwxr-xr-x.  2 ironic ironic     78 Mar  8 22:35 .
drwxr-xr-x. 25 root   root     4096 Mar 12 19:44 ..
-rw-r--r--.  1 ironic ironic 240138 Mar 12 19:45 ironic-api.log
-rw-r--r--.  1 ironic ironic 647216 Mar 12 20:00 ironic-conductor.log
-rw-r--r--.  1 root   root        0 Mar  8 22:15 ironic-dbsync.log

Actual results:
Directory and files are world readable.

Expected results:
Directory and files should not be world readable.

Comment 1 Derek Higgins 2017-04-04 09:16:24 UTC
This has been fixed upstream in the RDO packaging 
https://review.rdoproject.org/r/#/c/5258/

Comment 2 Derek Higgins 2017-04-04 10:10:52 UTC
An submitted to Ocata
https://review.rdoproject.org/r/#/c/6149/


Note You need to log in before you can comment on or make changes to this bug.