[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95650-8

Platform: 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.04Date: (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.4Attack Vector: LOCAL
Exploit Score: 2.5Attack Complexity: LOW
Impact Score: 5.9Privileges Required: NONE
Severity: HIGHUser Interaction: NONE
Vector: AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScope: UNCHANGED
 Confidentiality: HIGH
 Integrity: HIGH
 Availability: HIGH
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:87370
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:85227
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68703
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:70783
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:70693
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:92218


OVAL    6
oval:org.secpod.oval:def:70693
oval:org.secpod.oval:def:68703
oval:org.secpod.oval:def:92218
oval:org.secpod.oval:def:87370
...
XCCDF    9
xccdf_org.secpod_benchmark_general_Ubuntu_16_04
xccdf_org.secpod_benchmark_general_Ubuntu_18_04
xccdf_org.secpod_benchmark_NIST_800_53_r5_Debain_11
xccdf_org.secpod_benchmark_NIST_800_53_r5_Debian_11
...

© SecPod Technologies