CCE-95445-3Platform: 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/passwd- file contains backup user account information.
Rationale:
It is critical to ensure that the /etc/passwd- 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 Uid and Gid are both 0/root and Access is 600 or
more restrictive:
# stat /etc/passwd-Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)
Remediation:
Run the following command to set permissions on /etc/passwd- :
# chown root:root /etc/passwd-
# chmod u-x,go-rwx /etc/passwd-
Parameter:
[110000000, root, root]
Technical Mechanism:
Run the following command to set permissions on /etc/passwd- :
# chown root:root /etc/passwd-
# chmod u-x,go-rwx /etc/passwd-
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:72682 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68596 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72891 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84281 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72996 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72785 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72041 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72407 |