6.1.4 Disable 'Allow guests to connect to shared folders' - AFP Sharing

Warning! Audit Deprecated

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

View Next Audit Version

Information

Not allowing guests to connect to shared folders mitigates the risk of an untrusted user doing basic reconnaissance and possibly use privilege escalation attacks to take control of the system.

Solution

Perform the following to implement the prescribed state:
1. Open System Preferences
2. Select Users & Groups
3. Select Guest User
4. Uncheck Allow guests to connect to shared folders
Alternatively:
1. Run the following command in Terminal:
sudo defaults write /Library/Preferences/com.apple.AppleFileServer guestAccess -bool no

See Also

https://benchmarks.cisecurity.org/tools2/osx/CIS_Apple_OSX_10.11_Benchmark_v1.0.0.pdf

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2

Plugin: Unix

Control ID: c7487374bc9f0ce2b3407ea27a4462abd714ed47493214ea66753ea1730beafd