CCE-95444-6Platform: 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 /etc/shadow- file is used to store backup information about user accounts that is
critical to the security of those accounts, such as the hashed password and other security
information.
Rationale:
It is critical to ensure that the /etc/shadow- file is protected from unauthorized access.
Although it is protected by default, the file permissions could be changed either
inadvertently or through malicious actions.
Audit:
Run the following command and verify verify Uid is 0/root, Gid is 0/root or
/shadow, and Access is 640 or more restrictive:
# stat /etc/shadow-Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Remediation:
Run the one of the following chown commands as appropriate and the chmod to set
permissions on /etc/shadow- :
# chown root:root /etc/shadow-OR
# chown root:shadow /etc/shadow-
# chmod u-x,go-rwx /etc/shadow-
Parameter:
[perm_000, root, root]
Technical Mechanism:
Run the one of the following chown commands as appropriate and the chmod to set
permissions on /etc/shadow- :
# chown root:root /etc/shadow-OR
# chown root:shadow /etc/shadow-
# chmod u-x,go-rwx /etc/shadow-
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.8 | Attack Vector: LOCAL |
Exploit Score: 1.8 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: LOW |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68595 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72681 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84282 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72890 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72408 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72042 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72995 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72784 |