AOSX-15-004021 - The macOS system must be configured with the sudoers file configured to authenticate users on a per -tty basis.

Information

The 'sudo' command must be configured to prompt for the administrator's password at least once in each newly opened Terminal window or remote logon session, as this prevents a malicious user from taking advantage of an unlocked computer or an abandoned logon session to bypass the normal password prompt requirement.

Without the 'tty_tickets' option, all open local and remote logon sessions would be authenticated to use sudo without a password for the duration of the configured password timeout window.

Solution

Edit the '/etc/sudoers' file to contain the line:

Defaults tty_tickets

This line can be placed in the defaults section or at the end of the file.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_OS_X_10-15_V1R10_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-225218r610901_rule, STIG-ID|AOSX-15-004021, STIG-Legacy|SV-111817, STIG-Legacy|V-102855, Vuln-ID|V-225218

Plugin: Unix

Control ID: d9392347026b8a49990114b2786003fa8a823e6dd343520748464269bc74da36