# Cis Tomcat8 V110 3.2

> Disable the Shutdown port (Not Scored)

- Skill: `cyberstrikeus/cis-tomcat8-v110-3-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-tomcat8-v110-3-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-tomcat8-v110-3-2/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-tomcat8-v110-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

Perform the following to determine if the shutdown port has been disabled. 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

Set the port to `-1` in the `$CATALINA_HOME/conf/server.xml` to disable the shutdown port.

```xml
<Server port="-1" shutdown="SHUTDOWN">
```

## Default Value

The shutdown port is enabled on TCP port `8005`, bound to the loopback address.

## References

1. https://tomcat.apache.org/tomcat-8.0-doc/config/server.html

## CIS Controls

**v7:**

- 9.2 Ensure Only Approved Ports, Protocols and Services Are Running
  - Ensure that only network ports, protocols, and services listening on a system with validated business needs, are running on each system.

## Profile Applicability

- Level 2

