3.1 Set a nondeterministic Shutdown command value.

Information

Tomcat listens on TCP port 8005 to accept shutdown requests. By connecting to this port and sending the SHUTDOWN command, all applications within Tomcat are halted. The shutdown port is not exposed to the network as it is bound to the loopback interface. It is recommended that a nondeterministic value be set for the shutdown attribute in $CATALINA_HOME/conf/server.xml.

Solution

Update the shutdown attribute in $CATALINA_HOME/conf/server.xml as follows:
<Server port="8005" shutdown="NONDETERMINISTICVALUE">
Note: NONDETERMINISTICVALUE should be replaced with a sequence of random characters.

See Also

https://workbench.cisecurity.org/files/266

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: 250a2386d2a25d5b3696d753238ac446d5e7364ded8b9f64c794e35ee4b4df61