GEN001025 - The sudo command must require authentication -/etc/sudoers - NOPASSWD

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

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-11, CAT|II, CCI|CCI-002038, Group-ID|V-58539, Rule-ID|SV-72969r1_rule, STIG-ID|GEN001025, Vuln-ID|V-58539

Plugin: Unix

Control ID: c21bc02833c773883edf70cffe22fc82ebf4cda89d12c430b581e8d34d19b081