OL6-00-000529 - The sudo command must require authentication - !authenticate

Information

The 'sudo' command allows authorized users to run programs (including shells) as other users, system users, and root. The '/etc/sudoers' file is used to configure authorized 'sudo' users as well as the programs they are allowed to run. Some configuration options in the '/etc/sudoers' file allow configured users to run programs without re-authenticating. Use of these configuration options makes it easier for one compromised account to be used to compromise other accounts.

Solution

Update the '/etc/sudoers' or other sudo configuration files to remove or comment out lines utilizing the 'NOPASSWD' and '!authenticate' options.

# visudo
# visudo -f [other sudo configuration file]

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(7), CAT|II, CCI|CCI-002038, Group-ID|V-60819, Rule-ID|SV-75275r1_rule, STIG-ID|OL6-00-000529, Vuln-ID|V-60819

Plugin: Unix

Control ID: 345fa533d688489b155feba53c83fc41e6ad2543797f08090ce4da58f7d71073