CCE-95716-7Platform: cpe:/o:ubuntu:ubuntu_linux:20.04 | Date: (C)2023-12-22 (M)2023-12-22 |
The pwquality dictcheck option sets whether to check for the words from the cracklib dictionary.
Rationale:
If the operating system allows the user to select passwords based on dictionary words, this increases the chances of password compromise by increasing the opportunity for successful guesses, and brute-force attacks.
Audit:
Run the following command to verify that the dictcheck option in /etc/security/pwquality.conf is not set to 0:
grep -i '^\s*dictcheck\s*=\s*([1-9])' /etc/security/pwquality.conf.Remediation:Edit or add the following line in /etc/security/pwquality.conf to a value of 2 or more:
dictcheck=1
Parameter:
[dictcheck]
Technical Mechanism:
Edit or add the following line in /etc/security/pwquality.conf to a value of 2 or more:
difok=2
CCSS Severity: | CCSS Metrics: |
CCSS Score : 9.0 | Attack Vector: NETWORK |
Exploit Score: 2.2 | Attack Complexity: HIGH |
Impact Score: 6.0 | Privileges Required: NONE |
Severity: CRITICAL | User Interaction: NONE |
Vector: AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | Scope: CHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:95935 |