Vulnerability Discussion
Support for both Screen Sharing and Apple Remote Desktop (ARD) is nonessential and must be disabled.
The information system must be configured to provide only essential capabilities. Disabling screen sharing and ARD helps prevent the unauthorized connection of devices, the unauthorized transfer of information, and unauthorized tunneling.
Check
Verify the macOS system is configured to disable Screen Sharing and Apple Remote Desktop with the following command:
/bin/launchctl print-disabled system | /usr/bin/grep -c '"com.apple.screensharing" => disabled'
If the result is not "1", this is a finding.
Fix
Configure the macOS system to disable Screen Sharing and Apple Remote Desktop with the following command:
/bin/launchctl disable system/com.apple.screensharing
The system may need to be restarted for the update to take effect.
Note: This will apply to the whole system.