AS24-W1-000300 - The Apache web server must have resource mappings set to disable the serving of certain file types.

Warning! Audit Deprecated

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

View Next Audit Version

Information

Resource mapping is the process of tying a particular file type to a process in the web server that can serve that type of file to a requesting client and to identify which file types are not to be delivered to a client.

By not specifying which files can and cannot be served to a user, the web server could deliver to a user web server configuration files, log files, password files, etc.

The web server must only allow hosted application file types to be served to a user, and all other types must be disabled.

Satisfies: SRG-APP-000141-WSR-000081, SRG-APP-000141-WSR-000083

Solution

Disable MIME types for .exe, .dll, .com, .bat, and .csh programs.

If 'Action' or 'AddHandler' exist and they configure .exe, .dll, .com, .bat, or .csh, remove those references.

Restart the Apache service.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CAT|II, CCI|CCI-000381, Rule-ID|SV-214323r505936_rule, STIG-ID|AS24-W1-000300, STIG-Legacy|SV-102469, STIG-Legacy|V-92381, Vuln-ID|V-214323

Plugin: Windows

Control ID: 545d745a8c5c04f1a137282b4f55ce2e5b834224260399dbbb17a92ff78f4167