DISA STIGS Viewer

The macOS system must disable Media Sharing.

Overview

Finding ID Version Rule ID IA Controls Severity
V-268517 APPL-15-002100 SV-268517r1034491_rule   Medium
Description
Media Sharing must be disabled. When Media Sharing is enabled, the computer starts a network listening service that shares the contents of the user's music collection with other users in the same subnet. The information system must be configured to provide only essential capabilities. Disabling Media Sharing helps prevent the unauthorized connection of devices and unauthorized transfer of information. Disabling Media Sharing mitigates this risk. NOTE: The Media Sharing preference panel will still allow "Home Sharing" and "Share media with guests" to be checked, but the service will not be enabled.
STIG Date
Apple macOS 15 (Sequoia) Security Technical Implementation Guide 2025-05-05

Details

Check Text (C-72547r1034489_chk)
Verify the macOS system is configured to disable Media Sharing with the following command:

/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\
.objectForKey('allowMediaSharing').js
EOS

If the result is not "false", this is a finding.
Fix Text (F-72448r1034490_fix)
Configure the macOS system to disable Media Sharing by installing the "com.apple.applicationaccess" configuration profile.