OL07-00-010343 - The Oracle Linux operating system must require re-authentication when using the 'sudo' command - sudo command.

Warning! Audit Deprecated

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

View Next Audit Version

Information

Without re-authentication, 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 organization requires the user to re-authenticate when using the 'sudo' command.

If the value is set to an integer less than 0, the user's time stamp will not expire and the user will not have to re-authenticate for privileged actions until the user's session is terminated.

Solution

Configure the 'sudo' command to require re-authentication.
Edit the /etc/sudoers file:
$ sudo visudo

Add or modify the following line:
Defaults timestamp_timeout=[value]
Note: The '[value]' must be a number that is greater than or equal to '0'.

Remove any duplicate or conflicting lines from /etc/sudoers and /etc/sudoers.d/ files.

See Also

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

Item Details

References: CAT|II, CCI|CCI-002038, Rule-ID|SV-237629r860887_rule, STIG-ID|OL07-00-010343, Vuln-ID|V-237629

Plugin: Unix

Control ID: a8ae69c5bd4be14b6d565c393a456809b23c5a417496817e0a4df9a580b209ff