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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: 72b87309ef9633655ec6b6f9937283eb2c1892750bbb2797ae19b00f6e1e759c