CCE-95650-8Platform: 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 private key is one of two files used in SSH public key authentication. In this authentication method, The possession of the private key is proof of identity. Only a private key that corresponds to a public key will be able to authenticate successfully. The private keys need to be stored and handled carefully, and no copies of the private key should be distributed.
Rationale:
If an unauthorized user obtains the private SSH host key file, the host could be impersonated.
Fix:
Run the following commands to set ownership and permissions on the private SSH host key files: # find /etc/ssh -xdev -type f -name 'ssh_host_*_key' -exec chown root:root {} ; # find /etc/ssh -xdev -type f -name 'ssh_host_*_key' -exec chmod 0600 {} ;
Parameter:
[110000000, 0, 0]
Technical Mechanism:
Run the following commands to set ownership and permissions on the private SSH host key files: # find /etc/ssh -xdev -type f -name ssh_host_*_key -exec chown root:root {} \; # find /etc/ssh -xdev -type f -name ssh_host_*_key -exec chmod 0600 {} \;
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:87370 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85227 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68703 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70783 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70693 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92218 |