CCE-95638-3Platform: cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-03-08 (M)2023-09-01 |
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.
Fix:
Run the following command to set root GID to zero: # usermod -g 0 root
Parameter:
[yes/no]
Technical Mechanism:
Run the following command to set root GID to zero: # usermod -g 0 root
CCSS Severity: | CCSS Metrics: |
CCSS Score : 4.4 | Attack Vector: LOCAL |
Exploit Score: 0.8 | Attack Complexity: LOW |
Impact Score: 3.6 | Privileges Required: HIGH |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H | Scope: UNCHANGED |
| Confidentiality: NONE |
| Integrity: NONE |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:87360 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85215 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70771 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70681 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68691 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92197 |