AOSX-10-000575 - System must implement replay-resistant authentication mechanisms for network access to non-privileged accounts.

Information

The SSH Version should be explicitly set to Version 2. Version 2 supports strong crypto and was rewritten from scratch to resolve several weaknesses in Version 1 that make it extremely vulnerable to attackers. The weaker crypto in Version 1 is potentially susceptible to certain forms of replay attacks. The system default is to only enable Version 2.

A replay attack may enable an unauthorized user to gain access to the operating system. Authentication sessions between the authenticator and the operating system validating the user credentials must not be vulnerable to a replay attack. An authentication process resists replay attacks if it is impractical to achieve a successful authentication by recording and replaying a previous authentication message

Solution

In order to make sure that 'Protocol 2' is used by sshd, run the following command:

sudo sed -i.bak 's/.*Protocol.*/Protocol 2/' /etc/sshd_config

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-10_Workstation_V1R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CAT|II, CCI|CCI-001942, CSCv6|9.1, Rule-ID|SV-74095r1_rule, STIG-ID|AOSX-10-000575, Vuln-ID|V-59665

Plugin: Unix

Control ID: 79bca66ae0b36dd3757209ac0c6512f5715b4470e005c1e465281cd13d4cb565