Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1431456

Summary: openstack-aodh: /var/log/aodh is world readable
Product: Red Hat OpenStack Reporter: Summer Long <slong>
Component: openstack-aodhAssignee: Eoghan Glynn <eglynn>
Status: CLOSED CURRENTRELEASE QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: apevec, eglynn, jjoyce, jschluet, lhh, pkilambi, ssmolyak
Target Milestone: ---Keywords: Security, Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-aodh-4.0.0-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1431455 Environment:
Last Closed: 2017-09-27 19:24:11 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-12 22:33:46 UTC
Description of problem:
The directory /var/log/aodh 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/aodh 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-aodh-3.0.1-0.20161125115128.b3b35ae.el7ost

How reproducible:
List /var/log directory for openstack-aodh:
$ ls -lart aodh
total 44
drwxr-xr-x. 25 root root  4096 Mar  8 22:12 ..
-rw-r--r--.  1 aodh aodh     0 Mar  8 22:15 notifier.log
-rw-r--r--.  1 aodh aodh     0 Mar  8 22:15 listener.log
drwxr-xr-x.  2 aodh root    64 Mar  8 22:15 .
-rw-r--r--.  1 aodh aodh 40613 Mar  8 22:21 evaluator.log

Actual results:
Directory and files are world readable.

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