STIGUI
V-259484CAT II — Medium severitySV-259484r958472_rule

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

Rule version APPL-14-002008 · STIG v2 · 2024-12-04

Discussion

The built-in web server is a nonessential service built into macOS and must be disabled.

Note: The built in web server service is disabled at startup by default macOS.

Check

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

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.

Identifiers

Group ID
V-259484
Group title
SRG-OS-000080-GPOS-00048
Rule ID
SV-259484r958472_rule
Check ID
C-63223r941072_chk
Fix ID
F-63131r941073_fix