AS24-U1-000680 - The Apache web server must be configured to immediately disconnect or disable remote access to the hosted applications.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

During an attack on the Apache web server or any of the hosted applications, the System Administrator (SA) may need to disconnect or disable access by users to stop the attack.

The Apache web server must be configured to disconnect users from a hosted application without compromising other hosted applications unless deemed necessary to stop the attack. Methods to disconnect or disable connections are to stop the application service for a specified hosted application, stop the Apache web server, or block all connections through the Apache web server access list.

The Apache web server capabilities used to disconnect or disable users from connecting to hosted applications and the Apache web server must be documented to make certain that, during an attack, the proper action is taken to conserve connectivity to any other hosted application if possible and to make certain log data is conserved for later forensic analysis.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Prepare documented procedures for shutting down an Apache website in the event of an attack.

The procedure should, at a minimum, provide the following steps:

Search for the PidFile runtime directive. (This example uses the combined results of HTTPD_ROOT and SERVER_CONFIG_FILE, above.) If this command returns a result, use this value in the kill command, otherwise, use the DEFAULT_PIDLOG value, above.

In a command line, enter the following command:

# grep -i pidfile /etc/httpd/conf/httpd.conf

# kill -TERM 'cat <FULLY-QUALIFIED_PIDFILE_FILENAME>'

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Server_2-4_UNIX_Y22M01_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002322, Rule-ID|SV-214260r615684_rule, STIG-ID|AS24-U1-000680, STIG-Legacy|SV-102799, STIG-Legacy|V-92711, Vuln-ID|V-214260

Plugin: Unix

Control ID: 7da5582e07cbda360ab8f29284780d35dc9b129a8d60ec6e041d3c043b393f4e