The Apache web server must allow the mappings to unused and vulnerable scripts to be removed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-214367SRG-APP-000141-WSR-000082AS24-W2-000310SV-214367r960963_rule2025-02-122
Description
Scripts allow server-side processing on behalf of the hosted application user or as processes needed in the implementation of hosted applications. Removing scripts not needed for application operation or deemed vulnerable helps to secure the web server. To ensure scripts are not added to the web server and run maliciously, script mappings that are not needed or used by the web server for hosted application operation must be removed.
ℹ️ Check
Locate cgi-bin files and directories enabled in the Apache configuration via "Script", "ScriptAlias" or "ScriptAliasMatch", or "ScriptInterpreterSource" directives. If any script is present that is not needed for application operation, this is a finding.
✔️ Fix
Remove any scripts in cgi-bin directory if they are not needed for application operation.