SV-213523r615939_rule
V-213523
SRG-APP-000141-AS-000095
JBOS-AS-000245
CAT III
10
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>
Use a web browser and browse to HTTP://JBOSS SERVER IP ADDRESS:8080
If the JBoss Welcome page is displayed, this is a finding.
V-213523
False
JBOS-AS-000245
Use a web browser and browse to HTTP://JBOSS SERVER IP ADDRESS:8080
If the JBoss Welcome page is displayed, this is a finding.
M
3987