From APACHE SITE 2.2 for Unix Security Technical Implementation Guide
Part of WG210
Associated with IA controls: ECCD-2, ECCD-1
Sharing web content is a security risk when a web server is involved. Users accessing the share anonymously could experience privileged access to the content of such directories. Network sharable directories expose those directories and their contents to unnecessary access. Any unnecessary exposure increases the risk that someone could exploit that access and either compromises the web content or cause web server performance problems.
To view the DocumentRoot enter the following command: grep "DocumentRoot" /usr/local/apache2/conf/httpd.conf To view the ServerRoot enter the following command: grep "serverRoot" /usr/local/apache2/conf/httpd.conf Note the location following the DocumentRoot and ServerRoot directives. Enter the following commands to determine if file sharing is running: ps -ef | grep nfs, ps -ef | grep smb If results are returned, determine the shares and confirm they are not in the same directory as listed above, If they are, this is a finding.
Remove the shares from the applicable directories.
Lavender hyperlinks in small type off to the right (of CSS
class id
, if you view the page source) point to
globally unique URIs for each document and item. Copy the
link location and paste anywhere you need to talk
unambiguously about these things.
You can obtain data about documents and items in other
formats. Simply provide an HTTP header Accept:
text/turtle
or
Accept: application/rdf+xml
.
Powered by sagemincer