2 - Remove or Disable Example Content - enable-welcome-root

Information

Although it can be a good idea to keep some example content in a test environment, to check if the server is running correctly, it is not a good practice in production.

Removing the samples will prevent an external client seeing what version of the AS you are running and will also prevent the AS instance being affected by future security bugs on this content.

Solution

Disable or remove the welcome-content directory by placing "false" as a value on enable-welcome-root

<virtual-server name="default-host" enable-welcome-root="false">

See Also

https://docs.jboss.org/author/display/AS72/Hardening+Guidelines

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 653d1c25665e35553837dd454ba5002a334ae1e07eadda3a6885284ec7789cf7