Bug 1431501 - openvswitch: /var/log/openvswitch is world readable
Summary: openvswitch: /var/log/openvswitch is world readable
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openvswitch
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 5.0 (RHEL 7)
Assignee: Timothy Redaelli
QA Contact: Ofer Blaut
Depends On:
TreeView+ depends on / blocked
Reported: 2017-03-13 02:21 UTC by Summer Long
Modified: 2017-07-21 12:19 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1431499
Last Closed: 2017-07-21 12:19:01 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Summer Long 2017-03-13 02:21:38 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):

Steps to reproduce:
$ ls -la /var/log/openvswitch
total 44
drwxr-xr-x.  2 root root  4096 Mar  5 19:07 .
drwxr-xr-x. 21 root root  4096 Mar 12 22:16 ..
-rw-r--r--.  1 root root  2135 Mar 12 22:16 ovsdb-server.log
-rw-r--r--.  1 root root   386 Mar  5 18:50 ovsdb-server.log-20170305.gz
-rw-r--r--.  1 root root 23931 Mar 12 22:17 ovs-vswitchd.log
-rw-r--r--.  1 root root  1741 Mar  5 18:52 ovs-vswitchd.log-20170305.gz

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