[Forgot Password]
Login  Register Subscribe

30480

 
 

423868

 
 

253164

 
 

909

 
 

197077

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-99403-8

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 `/etc/security/opasswd` file stores the users' old passwords and can be checked to ensure that users are not recycling recent passwords. Rationale: Forcing users not to reuse their past 24 passwords make it less likely that an attacker will be able to guess the password.Note that these change only apply to accounts configured on the local system. Audit: Run the following commands and ensure the `remember` option is '`24`' or more and included in all results:# grep -E '^passwords+requireds+pam_unix.so' /etc/pam.d/common-passwordpassword required pam_pwhistory.so remember=24 Remediation: Edit the `/etc/pam.d/common-password` file to include the `remember` option and conform to site policy as shown:password [success=2 default=ignore] pam_unix.so remember=5.


Parameter:

[number of last passwords to remember]


Technical Mechanism:

Set the pam_unix.so remember parameter to 5 in /etc/pam.d/common-password: password sufficient pam_unix.so remember=5 Note: The default password setting in this document is the last 5 passwords. Change this number to conform to your sites password policy.

CCSS Severity:CCSS Metrics:
CCSS Score : 9.8Attack Vector: NETWORK
Exploit Score: 3.9Attack Complexity: LOW
Impact Score: 5.9Privileges Required: NONE
Severity: CRITICALUser Interaction: NONE
Vector: AV:N/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:87267
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:85107
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:92184


OVAL    3
oval:org.secpod.oval:def:85107
oval:org.secpod.oval:def:87267
oval:org.secpod.oval:def:92184
XCCDF    5
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
xccdf_org.secpod_benchmark_general_Debian_11
...

© SecPod Technologies