[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-95651-6

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 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.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:87371
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:85228
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:70784
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:70694
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68704
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:92221


OVAL    6
oval:org.secpod.oval:def:70694
oval:org.secpod.oval:def:68704
oval:org.secpod.oval:def:87371
oval:org.secpod.oval:def:70784
...
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