-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Describe the bug
Inspec failure on a fresh Ubuntu 18.04 system due to permissions on /var/log/btmp
and CIS 4.2.3:
ubuntu1804-ami: × cis-dil-benchmark-4.2.3: Ensure permissions on all logfiles are configured (1 failed)
ubuntu1804-ami: × File /var/log/btmp should not be writable by group
ubuntu1804-ami: expected File /var/log/btmp not to be writable by group
Expected behavior
Seems an exception was added for the CIS 4.2.3 criteria to allow group write permissions for /var/log/lastlog
and /var/log/wtmp
but not /var/log/btmp
#50
AFAICT 660 permissions on /var/log/btmp
are expected and do not seem to be a security issue just like /var/log/wtmp
ie.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314956
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/743858
OS / Environment
Ubuntu 18.04
Inspec Version
$ inspec --version
4.18.39
Baseline Version
- name: cis-dil-benchmark
git: https://github.com/dev-sec/cis-dil-benchmark.git
tag: 0.4.10
Metadata
Metadata
Assignees
Labels
No labels