Documentation must be removed.
An XCCDF Rule
Description
<VulnDiscussion>Tomcat provides documentation and other directories in the default installation which do not serve a production use. These files must be deleted.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-222960r879587_rule
- Severity
- Low
- References
- Updated
Remediation - Manual Procedure
From the Tomcat server OS type the following command:
sudo rm -rf $CATALINA_BASE/webapps/docs