CCE-95464-4Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9 | Date: (C)2021-03-05 (M)2023-07-04 |
Description:
The shadow group allows system programs which require access the ability to read the
/etc/shadow file. No users should be assigned to the shadow group.
Rationale:
Any users assigned to the shadow group would be granted read access to the /etc/shadow
file. If attackers can gain read access to the /etc/shadow file, they can easily run a password
cracking program against the hashed passwords to break them. Other security information
that is stored in the /etc/shadow file (such as expiration) could also be useful to subvert
additional user accounts.
Audit:
Run the following commands and verify no results are returned:
# grep ^shadow:[^:]*:[^:]*:[^:]+ /etc/group
# awk -F: '($4 == "") { print }' /etc/passwd
Remediation:
Remove all users from the shadow group, and change the primary group of any users with
shadow as their primary group
Parameter:
[yes/No]
Technical Mechanism:
Remove all users from the shadow group, and change the primary group of any users with
shadow as their primary group
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.5 | Attack Vector: LOCAL |
Exploit Score: 0.8 | Attack Complexity: HIGH |
Impact Score: 6.0 | Privileges Required: HIGH |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | Scope: CHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73015 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72009 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68615 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84249 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72375 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72910 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72804 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72701 |