Check: AS24-U2-000680
Apache Server 2.4 UNIX Site STIG:
AS24-U2-000680
(in versions v2 r4 through v2 r3)
Title
The Apache web server must restrict inbound connections from nonsecure zones. (Cat II impact)
Discussion
Remote access to the Apache web server is any access that communicates through an external, non-organization-controlled network. Remote access can be used to access hosted applications or to perform management functions. A web server can be accessed remotely and must be capable of restricting access from what the DoD defines as nonsecure zones. Nonsecure zones are defined as any IP, subnet, or region that is defined as a threat to the organization. The nonsecure zones must be defined for public web servers logically located in a DMZ, as well as private web servers with perimeter protection devices. By restricting access from nonsecure zones, through the internal web server access list, the Apache web server can stop or slow denial-of-service (DoS) attacks on the web server.
Check Content
If external controls such as host-based firewalls are used to restrict this access, this check is Not Applicable. Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file: # apachectl -V | egrep -i 'httpd_root|server_config_file' -D HTTPD_ROOT="/etc/httpd" -D SERVER_CONFIG_FILE="conf/httpd.conf" Note: The apachectl front end is the preferred method for locating the Apache httpd file. For some Linux distributions "apache2ctl -V" or "httpd -V" can also be used. Search for the "RequireAll" directive: # cat /<path_to_file>/httpd.conf | grep -i "RequireAll" If "RequireAll" is not configured or IP ranges configured to allow are not restrictive enough to prevent connections from nonsecure zones, this is a finding.
Fix Text
Configure the "http.conf" file to include restrictions. Example: <RequireAll> Require not ip 192.168.205 Require not host phishers.example.com </RequireAll>
Additional Identifiers
Rule ID: SV-214297r881511_rule
Vulnerability ID: V-214297
Group Title: SRG-APP-000315-WSR-000004
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002344 |
The organization defines the data mining detection techniques to be employed to adequately detect data mining attempts against organization-defined data storage objects. |
Controls
Number | Title |
---|---|
AC-23 |
Data Mining Protection |