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

Bug 1431490

Summary: openvswitch: /var/log/openvswitch is world readable
Product: Red Hat OpenStack Reporter: Summer Long <slong>
Component: openvswitchAssignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: aloughla, amuller, apevec, chrisw, dtantsur, eglynn, fleitner, jruzicka, jschluet, lhh, lmartins, mburns, oblaut, opavlenk, pkilambi, rbartal, rhel-osp-director-maint, rhos-maint, slinaber, srevivo, ssmolyak
Target Milestone: z4Keywords: Security, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch-2.6.1-11.git20161206.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1431489
: 1431494 (view as bug list) Environment:
Last Closed: 2017-09-06 16:59:49 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:39:12 UTC
Description of problem:
The directory /var/log/openvswitch 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/openvswitch 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):
openvswitch-2.5.0-14.git20160727.el7fdp

Steps to reproduce:
$ ls -la /var/log/openvswitch
total 48
drwxr-xr-x.  2 root root 4096 Mar 12 03:20 .
drwxr-xr-x. 31 root root 4096 Mar  5 18:23 ..
-rw-r--r--.  1 root root   95 Mar 12 03:20 ovsdb-server.log
-rw-r--r--.  1 root root  138 Mar  8 03:39 ovsdb-server.log-20170309.gz
-rw-r--r--.  1 root root  139 Mar  9 03:40 ovsdb-server.log-20170310.gz
-rw-r--r--.  1 root root  140 Mar 10 03:29 ovsdb-server.log-20170311.gz
-rw-r--r--.  1 root root  140 Mar 11 03:14 ovsdb-server.log-20170312.gz
-rw-r--r--.  1 root root   95 Mar 12 03:20 ovs-vswitchd.log
-rw-r--r--.  1 root root  104 Mar  8 03:39 ovs-vswitchd.log-20170309.gz
-rw-r--r--.  1 root root  104 Mar  9 03:40 ovs-vswitchd.log-20170310.gz
-rw-r--r--.  1 root root  104 Mar 10 03:29 ovs-vswitchd.log-20170311.gz
-rw-r--r--.  1 root root  104 Mar 11 03:14 ovs-vswitchd.log-20170312.gz

Comment 1 Red Hat Bugzilla Rules Engine 2017-03-16 15:39:47 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 7 errata-xmlrpc 2017-09-06 16:59:49 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/RHSA-2017:2648