CCE-94472-8Platform: cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9 | Date: (C)2019-11-07 (M)2023-07-04 |
Utilizing 'pam_faillock.so', the 'fail_interval' directive configures the system to lock out accounts after a number of incorrect login
attempts. 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:
[900_seconds]
Technical Mechanism:
Locking out user accounts after a number of incorrect attempts within
Aspecific period of time 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:72265 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:55861 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84139 |