mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-04 01:12:00 +00:00
38 lines
715 B
YAML
38 lines
715 B
YAML
id: os_httpd_disable
|
|
title: "Disable the Built-in Web Server"
|
|
discussion:
|
|
The built-in web server is a non-essential service built into macOS and _MUST_ be disabled.
|
|
check: |
|
|
/bin/launchctl print-disabled system | /usr/bin/grep -c '"org.apache.httpd" => true'
|
|
result:
|
|
integer: 1
|
|
fix: |
|
|
[source,bash]
|
|
----
|
|
/bin/launchctl disable system/org.apache.httpd
|
|
----
|
|
references:
|
|
cce:
|
|
- CCE-84765-7
|
|
cci:
|
|
- CCI-000381
|
|
800-53r4:
|
|
- AC-3
|
|
srg:
|
|
- SRG-OS-000095-GPOS-00049
|
|
disa_stig:
|
|
- AOSX-14-002008
|
|
800-171r2:
|
|
- 3.1.1
|
|
- 3.1.2
|
|
macOS:
|
|
- "10.15"
|
|
tags:
|
|
- 800-171
|
|
- cnssi-1253
|
|
- fisma-low
|
|
- fisma-moderate
|
|
- fisma-high
|
|
- STIG
|
|
mobileconfig: false
|
|
mobileconfig_info: |