SV-33087r1_rule
V-13621
WG385
WG385 W22
CAT I
10
Ensure sample code and documentation have been removed from the web server.
Query the SA to determine if all directories that contain samples and any scripts used to execute the samples have been removed from the server.
Each web server has its own list of sample files. This may change with the software versions, but the following are some examples of what to look for (This is not a definitive list of sample files, but only an example of the common samples that are provided with the associated web server. This list will be updated as additional information is discovered.):
[Drive Letter]:/[directory path]/apache2/manual/*.*
[Drive Letter]:/[directory path]/apache2/conf/extra/*.*
[Drive Letter]:/[directory path]/apache2/cgi-bin/printenv
[Drive Letter]:/[directory path]/apache2/cgi-bin/test-cgi
If there is a requirement to maintain these directories at the site for training or other such purposes, have permissions or set the permissions to only allow access to authorized users.
If any sample files are found on the web server, this is a finding.
V-13621
False
WG385 W22
Query the SA to determine if all directories that contain samples and any scripts used to execute the samples have been removed from the server.
Each web server has its own list of sample files. This may change with the software versions, but the following are some examples of what to look for (This is not a definitive list of sample files, but only an example of the common samples that are provided with the associated web server. This list will be updated as additional information is discovered.):
[Drive Letter]:/[directory path]/apache2/manual/*.*
[Drive Letter]:/[directory path]/apache2/conf/extra/*.*
[Drive Letter]:/[directory path]/apache2/cgi-bin/printenv
[Drive Letter]:/[directory path]/apache2/cgi-bin/test-cgi
If there is a requirement to maintain these directories at the site for training or other such purposes, have permissions or set the permissions to only allow access to authorized users.
If any sample files are found on the web server, this is a finding.
M
System Administrator
158