JBOS-AS-000245 - Welcome Web Application must be disabled - Welcome Web Application must be disabled.

Information

The Welcome to JBoss web page provides a redirect to the JBoss admin console, which, by default, runs on TCP 9990 as well as redirects to the Online User Guide and Online User Groups hosted at locations on the Internet. The welcome page is unnecessary and should be disabled or replaced with a valid web page.

Solution

Use the Management CLI script JBOSS_HOME/bin/jboss-cli.sh to run the following command. You may need to change the profile to modify a different managed domain profile, or remove the '/profile=default' portion of the command for a standalone server.

'/profile=default/subsystem=web/virtual-server=default-host:writeattribute(name=enable-welcome-root,value=false)'

To configure your web application to use the root context (/) as its URL address, modify the applications jboss-web.xml, which is located in the applications META-INF/ or WEB-INF/ directory. Replace its <context-root> directive with one that looks like the following:

<jboss-web>
<context-root>/</context-root>
</jboss-web>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_JBoss_EAP_6-3_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|III, CCI|CCI-000381, Rule-ID|SV-213523r954822_rule, STIG-ID|JBOS-AS-000245, STIG-Legacy|SV-76761, STIG-Legacy|V-62271, Vuln-ID|V-213523

Plugin: Unix

Control ID: 3e4e578730d548109fd68e541453d43ce8a137ebac097600bd5a31a63ec1d9e9