[Forgot Password]
Login  Register Subscribe

30481

 
 

423868

 
 

255227

 
 

909

 
 

198741

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-99404-6

Platform: cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04Date: (C)2023-02-09   (M)2023-09-01



Description: The commands below set password encryption to `yescrypt` (a much stronger hashing algorithm). All existing accounts will need to perform a password change to upgrade the stored hashes to the new algorithm. Rationale: The yescrypt algorithm provides much stronger hashing than previous available algorithms, thus providing additional protection to the system by increasing the level of effort for an attacker to successfully determine passwords.Note that these change only apply to accounts configured on the local system. Audit: Run the following commands and ensure that yescrypt option is included as ENCRYPTION_METHOD and no hashing algorithm is set for pam_unix.so module :# grep -E 'grep -v ^# /etc/pam.d/common-password | grep -E `(yescrypt|md5|bigcrypt|sha256|sha512|blowfish)$'Output should be similar to:password [success=1 default=ignore] pam_unix.so obscure Remediation: Edit the `/etc/pam.d/common-password` file to remove the `yescrypt|md5|bigcrypt|sha256|sha512|blowfish` option for `pam_unix.so` as shown:password [success=1 default=ignore] pam_unix.so.


Parameter:

[yes/no]


Technical Mechanism:

Edit /etc/pam.d/common-password file to ensure no hashing algorithm is set for pam_unix.so Edit /etc/login.defs file to set ENCRYPTION_METHOD to yescrypt.

CCSS Severity:CCSS Metrics:
CCSS Score : 8.1Attack Vector: NETWORK
Exploit Score: 2.2Attack Complexity: HIGH
Impact Score: 5.9Privileges Required: NONE
Severity: HIGHUser Interaction: NONE
Vector: AV:N/AC:H/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:85214
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:87268
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:92198


OVAL    3
oval:org.secpod.oval:def:92198
oval:org.secpod.oval:def:87268
oval:org.secpod.oval:def:85214
XCCDF    6
xccdf_org.secpod_benchmark_NIST_800_53_r5_Debain_11
xccdf_org.secpod_benchmark_general_Ubuntu_23.04
xccdf_org.secpod_benchmark_NIST_800_53_r5_Debian_11
xccdf_org.secpod_benchmark_general_Ubuntu_22.04
...

© SecPod Technologies