CCE-95023-8Platform: cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2020-10-15 (M)2023-09-01 |
The PermitRootLogin parameter specifies if the root user can log in using ssh(1). The default is no.
Rationale:
Disallowing root logins over SSH requires server admins to authenticate using their own individual account, then escalating to root via sudo or su. This in turn limits opportunity for non-repudiation and provides a clear audit trail in the event of a security incident
Fix:
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
PermitRootLogin no
Parameter:
[no/yes]
Technical Mechanism:
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
PermitRootLogin no
CCSS Severity: | CCSS Metrics: |
CCSS Score : 8.1 | Attack Vector: NETWORK |
Exploit Score: 2.2 | Attack Complexity: HIGH |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:N/AC:H/PR:N/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:92186 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:87308 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:65962 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85101 |