CCE-95651-6Platform: cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-03-08 (M)2023-09-01 |
An SSH public key is one of two files used in SSH public key authentication. In this authentication method, a public key is a key that can be used for verifying digital signatures generated using a corresponding private key. Only a public key that corresponds to a private key will be able to authenticate successfully.
Rationale:
If a public host key file is modified by an unauthorized user, the SSH service may be compromised.
Fix:
Run the following commands to set ownership and permissions on the public SSH host key files: # find /etc/ssh -xdev -type f -name 'ssh_host_*_key.pub' -exec chown root:root {} ; # find /etc/ssh -xdev -type f -name 'ssh_host_*_key.pub' -exec chmod 0644 {} ;
Parameter:
[110100100, 0, 0]
Technical Mechanism:
Run the following commands to set ownership and permissions on the public SSH host key files: # find /etc/ssh -xdev -type f -name ssh_host_*_key.pub -exec chown root:root {} \; # find /etc/ssh -xdev -type f -name ssh_host_*_key.pub -exec chmod 0644 {} \;
CCSS Severity: | CCSS Metrics: |
CCSS Score : 8.4 | Attack Vector: LOCAL |
Exploit Score: 2.5 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:L/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:87371 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85228 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70784 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70694 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68704 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92221 |