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

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_V2R14_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: 6bb5a29b3c6d69643cb4444bff474778a739cf9cba19bbe74e8b83f42d6347e4