UCF STIG Viewer Logo

Web Sharing must be disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-59825 AOSX-10-001275 SV-74255r1_rule Medium
Description
Web Sharing is non-essential and must be disabled. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
STIG Date
Apple OS X 10.10 (Yosemite) Workstation Security Technical Implementation Guide 2017-04-06

Details

Check Text ( C-60581r2_chk )
To check if the 'Web Sharing' service is disabled, use the following command:

sudo launchctl print-disabled system | grep org.apache.httpd

If the results do not show the following:

"org.apache.httpd" => true

this is a finding.
Fix Text (F-65235r1_fix)
To disable the 'Web Sharing' service, run the following command:

sudo launchctl disable system/org.apache.httpd

The system may need to be restarted for the update to take effect.