STIGhubSTIGhub
STIGsSearchCompareAbout

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • VPAT
  • DISA STIG Library
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to APACHE 2.2 Site for UNIX Security Technical Implementation Guide

V-2226

CAT II (Medium)

Web content directories must not be anonymously shared.

Rule ID

SV-33022r1_rule

STIG

APACHE 2.2 Site for UNIX Security Technical Implementation Guide

Version

V1R11

CCIs

None

Discussion

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.

Check Content

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.

Fix Text

Remove the shares from the applicable directories.