Check: WA000-WWA056 W22
APACHE SERVER 2.0 for Windows:
WA000-WWA056 W22
(in version v1 r5)
Title
The MultiViews directive must be disabled. (Cat II impact)
Discussion
Directory options directives are directives that can be applied to further restrict access to file and directories. MultiViews is a per-directory option, meaning it can be set with an Options directive within a <Directory>, <Location> or <Files> section in httpd.conf, or (if AllowOverride is properly set) in .htaccess files. The effect of MultiViews is as follows: if the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the server reads the directory looking for files named foo.*, and effectively fakes up a type map which names all those files, assigning them the same media types and content-encodings it would have if the client had asked for one of them by name. It then chooses the best match to the client's requirements.
Check Content
Locate the Apache httpd.conf file. Open the httpd.conf file with an editor such as Notepad, and search for the following uncommented directive: Options Review all uncommented Options statements for the following value: -MultiViews If the value is found on the Options statement, and it does not have a preceding "-", this is a finding. If the value does not exist at all, this would be a finding unless the enabled Options statement is set to “None”.
Fix Text
Add a "-" to the MultiViews setting, or set the options directive to None.
Additional Identifiers
Rule ID: SV-33004r1_rule
Vulnerability ID: V-13734
Group Title: WA000-WWA056
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |