Disable the Shutdown port
Scanned 9/3/2026
Install to Claude Code
npx -y skills add CyberStrikeus/CyberStrike --skill cis-tomcat8-v100-3.2 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cis Tomcat8 V100 3.2?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-tomcat8-v100-3-2)More formats (shields.io, HTML) on the badges page.
---
name: cis-tomcat8-v100-3.2
description: "Disable the Shutdown port"
category: cis-tomcat
version: "1.0.0"
author: cyberstrike-official
tags: [cis, tomcat, tomcat-8, hardening, shutdown-port]
cis_id: "3.2"
cis_benchmark: "CIS Apache Tomcat 8 Benchmark v1.0.0"
tech_stack: [linux, tomcat, java]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# 3.2 Disable the Shutdown port (Not Scored)
## Description
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.
## Rationale
Disabling the Shutdown port will eliminate the risk of malicious local entities using the shutdown command to disable the Tomcat server.
## Audit Procedure
1. Ensure the port attribute in `$CATALINA_HOME/conf/server.xml` is set to -1.
```bash
$ cd $CATALINA_HOME/conf/
$ grep '<Server[[:space:]]\+[^>]*port[[:space:]]*=[[:space:]]*"-1"' server.xml
```
## Remediation
1. Set the port to -1 in the `$CATALINA_HOME/conf/server.xml` file:
```xml
<Server port="-1" shutdown="$SHUTDOWN">
```
## Default Value
The shutdown port is enabled on TCP port 8005, bound to the loopback address.
## References
1. http://tomcat.apache.org/tomcat-8.0-doc/config/server.html
## CIS Controls
- Not mapped in this benchmark version
## Profile Applicability
- Level 2
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!