Check: APPL-14-002063
Apple macOS 14 (Sonoma) STIG:
APPL-14-002063
(in versions v1 r2 through v1 r1)
Title
The macOS system must disable the guest account. (Cat II impact)
Discussion
Guest access must be disabled. Turning off guest access prevents anonymous users from accessing files.
Check Content
Verify the macOS system is configured to disable the guest account with the following command: /usr/bin/osascript -l JavaScript << EOS function run() { let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX')\ .objectForKey('DisableGuestAccount')) let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX')\ .objectForKey('EnableGuestAccount')) if ( pref1 == true && pref2 == false ) { return("true") } else { return("false") } } EOS If the result is not "true", this is a finding.
Fix Text
Configure the macOS system to disable the guest account by installing the "com.apple.MCX" configuration profile.
Additional Identifiers
Rule ID: SV-259511r941155_rule
Vulnerability ID: V-259511
Group Title: SRG-OS-000364-GPOS-00151
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001813 |
The information system enforces access restrictions. |
Controls
Number | Title |
---|---|
CM-5 (1) |
Automated Access Enforcement / Auditing |