CCE-95426-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 usermod command can be used to specify which group the root user belongs to. This affects permissions of files that are created by the root user.
Rationale:
Using GID 0 for the root account helps prevent root-owned files from accidentally becoming accessible to non-privileged users.
Remediation:
Run the following command to set the root user default group to GID 0:
# usermod -g 0 root
Parameter:
[0]
Technical Mechanism:
Run the following command to set the root user default group to GID 0:
# usermod -g 0 root
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:72872 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72033 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68577 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72663 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72766 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72977 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84273 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72399 |