Bug 1431487

Summary: openstack-zaqar: /var/log/zaqar is world readable
Product: Red Hat OpenStack Reporter: Summer Long <slong>
Component: openstack-zaqarAssignee: Thomas Hervé <therve>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: apevec, beth.white, dtantsur, eglynn, jjoyce, jruzicka, jschluet, lhh, lmartins, mburns, pkilambi, rbartal, rhel-osp-director-maint, rhos-maint, slinaber, srevivo, ssmolyak, therve, zbitter
Target Milestone: z4Keywords: Security, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-zaqar-3.0.0-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1431485
: 1431489 (view as bug list) Environment:
Last Closed: 2017-09-06 17:06:29 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:20:25 UTC
Description of problem:
The directory /var/log/zaqar 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/zaqar 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-zaqar-3.0.0-3.el7ost

Steps to reproduce:
$ ls -la /var/log/zaqar
total 12
drwxr-xr-x.  2 zaqar root  4096 Feb 16 22:44 .
drwxr-xr-x. 31 root  root  4096 Mar  5 18:23 ..
-rw-r--r--.  1 zaqar zaqar  714 Mar  5 17:57 zaqar.log

Comment 1 Zane Bitter 2017-05-04 14:10:02 UTC
Packaging change merged upstream in RDO.

Comment 4 Sasha Smolyak 2017-08-16 11:50:38 UTC
[stack@undercloud-0 ~]$ sudo ls -la /var/log/zaqar
total 8
drwxr-x---.  2 zaqar root    23 Aug 16 04:56 .
drwxr-xr-x. 31 root  root  4096 Aug 16 05:57 ..
-rw-r--r--.  1 zaqar zaqar  620 Aug 16 05:00 zaqar.log


Fixed

Comment 6 errata-xmlrpc 2017-09-06 17:06:29 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/RHBA-2017:2653