CCE-95009-7Platform: 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 /etc/ssh/sshd_config file contains configuration specifications for sshd. The command below sets the owner and group of the file to root.
Rationale:
The /etc/ssh/sshd_config file needs to be protected from unauthorized changes by non- priliveged users, but needs to be readable as this information is used with many non- privileged programs.
Fix:
If the user and group ownership of the /etc/ssh/sshd_config file are incorrect, run the following command to correct them:
# chown root:root /etc/ssh/sshd_config
If the permissions are incorrect, run the following command to correct them:
# chmod 600 /etc/ssh/sshd_config
Parameter:
[permission 600]
Technical Mechanism:
If the user and group ownership of the /etc/ssh/sshd_config file are incorrect, run the following command to correct them:
# chown root:root /etc/ssh/sshd_config
If the permissions are incorrect, run the following command to correct them:
# chmod 600 /etc/ssh/sshd_config
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.4 | Attack Vector: LOCAL |
Exploit Score: 1.4 | Attack Complexity: HIGH |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/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:87310 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92363 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:65965 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85088 |