Skip to content
Back to skills

Cis Tomcat7 V100 1.1

ASecurity

Remove extraneous files and directories

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

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-tomcat7-v100-1.1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Tomcat7 V100 1.1?

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

Security grade badge for Cis Tomcat7 V100 1.1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-tomcat7-v100-1-1/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-tomcat7-v100-1-1)

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-tomcat7-v100-1.1
description: "Remove extraneous files and directories"
category: cis-tomcat
version: "1.0.0"
author: cyberstrike-official
tags: [cis, tomcat, tomcat-7, hardening, extraneous-resources]
cis_id: "1.1"
cis_benchmark: "CIS Apache Tomcat 7 Benchmark v1.0.0"
tech_stack: [tomcat, java]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# CIS Apache Tomcat 7 - 1.1 Remove extraneous files and directories (Scored)

## Profile Applicability

- Level 2

## Description

The installation may provide example applications, documentation, and other directories which may not serve a production use.

## Rationale

Removing sample resources is a defense in depth measure that reduces potential exposures introduced by these resources.

## Impact

Removal of example applications and documentation reduces available attack surface.

## Audit Procedure

Perform the following to determine the existence of extraneous resources:

1. List all files extraneous files. The following should yield no output:

```bash
$ ls -l $CATALINA_HOME/webapps/js-examples \
    $CATALINA_HOME/webapps/servlet-example \
    $CATALINA_HOME/webapps/webdav \
    $CATALINA_HOME/webapps/tomcat-docs \
    $CATALINA_HOME/webapps/balancer \
    $CATALINA_HOME/webapps/ROOT/admin \
    $CATALINA_HOME/webapps/examples \
    $CATALINA_HOME/server/webapps/host-manager \
    $CATALINA_HOME/server/webapps/manager \
    $CATALINA_HOME/conf/Catalina/localhost/host-manager.xml \
    $CATALINA_HOME/conf/Catalina/localhost/manager.xml
```

## Remediation

Perform the following to remove extraneous resources:

1. The following should yield no output:

```bash
$ rm -rf $CATALINA_HOME/webapps/js-examples \
    $CATALINA_HOME/webapps/servlet-example \
    $CATALINA_HOME/webapps/webdav \
    $CATALINA_HOME/webapps/tomcat-docs \
    $CATALINA_HOME/webapps/balancer \
    $CATALINA_HOME/bin/webapps/ROOT/admin \$CATALINA_HOME/webapps/examples
```

If the Manager application is not utilized, also remove the following resources:

```bash
$ rm -rf $CATALINA_HOME/server/webapps/host-manager \
    $CATALINA_HOME/server/webapps/manager \
    $CATALINA_HOME/conf/Catalina/localhost/host-manager.xml \
    $CATALINA_HOME/conf/Catalina/localhost/manager.xml
```

## Default Value

Depending on your install method, default extraneous resources will vary.

## References

- CIS Apache Tomcat 7 Benchmark v1.0.0

## CIS Controls

Version 7:

- 18.9 Limit Use of Live Operating System to Those That Are Needed

## Assessment Status

- **Scored**
- **Profile**: 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.