Check: WA000-WWA052 A22
APACHE Server 2.0 for Unix:
WA000-WWA052 A22
(in version v1 r5)
Title
The "–FollowSymLinks” setting must be disabled. (Cat II impact)
Discussion
The Options directive configures the web server features that are available in particular directories. The FollowSymLinks option controls the ability of the server to follow symbolic links. A symbolic link allows a file or a directory to be referenced using a symbolic name raising a potential hazard if symbolic linkage is made to a sensitive area. When web scripts are executed and symbolic links are allowed, the web user could be allowed to access locations on the web server that are outside the scope of the web document root or home directory.
Check Content
To view the Options value enter the following command: grep "Options" /usr/local/apache2/conf/httpd.conf. Review all uncommented Options statements for the following value: -FollowSymLinks If the value is found with an Options statement, and it does not have a preceding ‘-‘, this is a finding. Notes: - If the value does NOT exist, this is a finding. - If all enabled Options statement are set to None this is not a finding.
Fix Text
Edit the httpd.conf file and set the value of "FollowSymLinks" to "-FollowSymLinks".
Additional Identifiers
Rule ID: SV-40129r1_rule
Vulnerability ID: V-13732
Group Title: WA000-WWA052
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |