The macOS system must require users to reauthenticate for privilege escalation when using the "sudo" command.
An XCCDF Rule
Description
<VulnDiscussion>Without reauthentication, 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 user reauthenticate. Satisfies: SRG-OS-000373-GPOS-00156, SRG-OS-000373-GPOS-00157, SRG-OS-000373-GPOS-00158</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-257239r905350_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure the macOS system to require reauthentication when using the "sudo" command by editing the "/etc/sudoers" file to contain the line:
Defaults timestamp_timeout=0