CCE-90934-1Platform: cpe:/o:centos:centos:7, cpe:/o:redhat:enterprise_linux:7 | Date: (C)2017-06-29 (M)2023-07-04 |
To configure the system to lock out accounts after a number of incorrect login
attempts using 'pam_faillock.so', modify the content of both
'/etc/pam.d/system-auth' and '/etc/pam.d/password-auth' as follows:
add the following line immediately 'before' the 'pam_unix.so' statement in the 'AUTH' section:
auth required pam_faillock.so preauth silent deny=3 unlock_time=1800 fail_interval=900
add the following line immediately 'after' the 'pam_unix.so' statement in the 'AUTH' section:
auth [default=die] pam_faillock.so authfail deny=3 unlock_time=1800 fail_interval=900
add the following line immediately 'before' the 'pam_unix.so' statement in the 'ACCOUNT' section:
account required pam_faillock.so
Parameter:
[3_failed_attempts]
Technical Mechanism:
Locking out user accounts after a number of incorrect attempts
prevents direct password guessing attacks.
CCSS Severity: | CCSS Metrics: |
CCSS Score : 8.1 | Attack Vector: NETWORK |
Exploit Score: 2.2 | Attack Complexity: HIGH |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: HIGH | User Interaction: NONE |
Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:31313 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:30590 |