AOSX-12-000995 - The OS X 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 user'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-12_V1R6_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CAT|I, CCI|CCI-000366, Rule-ID|SV-90805r1_rule, STIG-ID|AOSX-12-000995, Vuln-ID|V-76117

Plugin: Unix

Control ID: 642581f3f6b018f2a6e596df51696fa52ebfd5f1ed1962eeda176663046f8eee