Skip to content
Back to skills

Cis Tomcat8 V100 2.4

ASecurity

Disable X-Powered-By HTTP Header and Rename the Server Value for all Connectors

  • 3,723 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
securitygojava

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-tomcat8-v100-2.4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Tomcat8 V100 2.4?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Tomcat8 V100 2.4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-tomcat8-v100-2-4/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-tomcat8-v100-2-4)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-tomcat8-v100-2.4
description: "Disable X-Powered-By HTTP Header and Rename the Server Value for all Connectors"
category: cis-tomcat
version: "1.0.0"
author: cyberstrike-official
tags: [cis, tomcat, tomcat-8, hardening, information-leakage, x-powered-by, http-headers]
cis_id: "2.4"
cis_benchmark: "CIS Apache Tomcat 8 Benchmark v1.0.0"
tech_stack: [linux, tomcat, java]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# 2.4 Disable X-Powered-By HTTP Header and Rename the Server Value for all Connectors (Scored)

## Description

The xpoweredBy setting determines if Apache Tomcat will advertise its presence via the X-Powered-By HTTP header. It is recommended that this value be set to false. The server attribute overrides the default value that is sent down in the HTTP header further masking Apache Tomcat.

## Rationale

Preventing Tomcat from advertising its presence in this manner may make it harder for attackers to determine which vulnerabilities affect the server platform.

## Audit Procedure

1. Locate all Connector elements in $CATALINA_HOME/conf/server.xml.
2. Ensure each Connector has a server attribute and that the server attribute does not reflect Apache Tomcat. Also, make sure that the xpoweredBy attribute is NOT set to true.

## Remediation

1. Add the xpoweredBy attribute to each Connector specified in $CATALINA_HOME/conf/server.xml. Set the xpoweredBy attributes value to false.

```xml
<Connector
...
xpoweredBy="false" />
```

2. Add the server attribute to each Connector specified in $CATALINA_HOME/conf/server.xml. Set the server attribute value to anything except a blank string.

## Default Value

The default value is false.

## References

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

## CIS Controls

- Not mapped in this benchmark version

## Profile Applicability

- Level 2

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.