Check: SRG-APP-000141-WSR-000083
Web Server SRG:
SRG-APP-000141-WSR-000083
(in versions v4 r2 through v2 r2)
Title
The web server must have resource mappings set to disable the serving of certain file types. (Cat II impact)
Discussion
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 which files 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.
Check Content
Review the web server documentation and deployment configuration to determine what types of files are being used for the hosted applications. If the web server is configured to allow other file types not associated with the hosted application, especially those associated with logs, configuration files, passwords, etc., this is a finding.
Fix Text
Configure the web server to only serve file types to the user that are needed by the hosted applications. All other file types must be disabled.
Additional Identifiers
Rule ID: SV-206382r960963_rule
Vulnerability ID: V-206382
Group Title: SRG-APP-000141
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
Configure the system to provide only organization-defined mission essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |