CCE-95738-1Platform: cpe:/o:ubuntu:ubuntu_linux:20.04 | Date: (C)2023-12-20 (M)2023-12-20 |
/etc/shells is a text file which contains the full pathnames of valid login shells. This file is consulted by chsh and available to be queried by other programs.
Rationale:
It is critical to ensure that the /etc/shells file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Fix: Run the following commands to set permissions on /etc/shell: # # chown root:root /etc/shell
Parameter:
[0, 0, 110100100]
Technical Mechanism:
Run the following commands to set permissions on /etc/shell: # chown root:root /etc/shell # chmod u-x,go-wx /etc/shell
CCSS Severity: | CCSS Metrics: |
CCSS Score : 8.8 | Attack Vector: LOCAL |
Exploit Score: 2.0 | Attack Complexity: LOW |
Impact Score: 6.0 | Privileges Required: LOW |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/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:95933 |