Skip to content

The OHS document root directory must not be on a network share.

An XCCDF Rule

Description

Sharing of web server 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.

ID
SV-221460r879887_rule
Version
OH12-1X-000223
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

1. Open $DOMAIN_HOME/config/fmwconfig/components/OHS/<componentName>/httpd.conf and every .conf file (e.g., ssl.conf) included in it with an editor that contains a "<VirtualHost>" directive.

2. Search for the "DocumentRoot" directive at the OHS server and virtual host configuration scopes.

3. Remove the shares that are associated with any directory specified as a value for the "DocumentRoot" directives.