3.2 Disable the Shutdown port

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. If this functionality is not used, it is recommended that the Shutdown port be disabled.

Solution

Set the port to -1 in the $CATALINA_HOME/conf/server.xml file: <Server port="-1" shutdown="SHUTDOWN">

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 99081fec0f0aeb950f4890b4c114007abc45a00d33a6a88d6712c8fdc4883d94