The macOS system must disable the built-in web server.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-268484APPL-15-002008SV-268484r1034392_ruleCCI-000213medium
Description
The built-in web server is a nonessential service built into macOS and must be disabled. NOTE: The built-in web server is disabled at startup by default with macOS.
STIGDate
Apple macOS 15 (Sequoia) Security Technical Implementation Guide2025-05-05

Details

Check Text (C-268484r1034392_chk)

Verify the macOS system is configured to disable the built-in web server with the following command: /bin/launchctl print-disabled system | /usr/bin/grep -c '"org.apache.httpd" => disabled' If the result is not "1", this is a finding.

Fix Text (F-72415r1034391_fix)

Configure the macOS system to disable the built-in web server with the following command: /bin/launchctl disable system/org.apache.httpd The system may need to be restarted for the update to take effect.