Bug 1431462 - openstack-ceilometer: /var/log/ceilometer is world readable
Summary: openstack-ceilometer: /var/log/ceilometer is world readable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: zstream
: 9.0 (Mitaka)
Assignee: Eoghan Glynn
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-12 23:22 UTC by Summer Long
Modified: 2018-07-30 16:30 UTC (History)
8 users (show)

Fixed In Version: openstack-ceilometer-6.1.5-7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1431461
: 1431464 (view as bug list)
Environment:
Last Closed: 2018-07-30 16:30:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 5832 0 None None None 2017-03-15 15:59:02 UTC

Description Summer Long 2017-03-12 23:22:54 UTC
Description of problem:
The directory /var/log/ceilometer 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/ceilometer 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-ceilometer-6.1.3-2.el7ost

How reproducible:
List /var/log directory for openstack-ceilometer:
$ ls -la ceilometer/
total 596
drwxr-xr-x.  2 ceilometer root         4096 Mar  7 20:29 .
drwxr-xr-x. 29 root       root         4096 Mar 12 19:20 ..
-rw-r--r--.  1 ceilometer ceilometer  76389 Mar 12 19:20 agent-notification.log
-rw-r--r--.  1 ceilometer ceilometer    512 Mar  7 20:29 ceilometer-dbsync.log
-rw-r--r--.  1 ceilometer ceilometer 388917 Mar 12 19:20 central.log
-rw-r--r--.  1 ceilometer ceilometer   4578 Mar 12 19:21 collector.log
-rw-r--r--.  1 ceilometer ceilometer  57511 Mar 12 19:20 compute.log

Actual results:
Directory and files are world readable.

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


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