AZLX-23-001005 - Amazon Linux 2023 must not be configured to bypass password requirements for privilege escalation.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Without reauthentication, users may access resources or perform tasks for which they do not have authorization. When operating systems provide the capability to escalate a functional capability, it is critical the user reauthenticate.

Solution

Configure Amazon Linux 2023 to require users to supply a password for privilege escalation.

Remove any occurrences of "pam_succeed_if " in the "/etc/pam.d/sudo" file.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Amazon_Linux_2023_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002165, Rule-ID|SV-274013r1120027_rule, STIG-ID|AZLX-23-001005, Vuln-ID|V-274013

Plugin: Unix

Control ID: 0496494c1d8fe3a8822c6e4ce125ed4bad26eaea877df0febf493f737c29e71b