Skip to content
Back to skills

Cis Tomcat8 V110 5.2

ASecurity

Use LockOut Realms

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

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-tomcat8-v110-5.2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Tomcat8 V110 5.2?

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

Security grade badge for Cis Tomcat8 V110 5.2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-tomcat8-v110-5-2/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-tomcat8-v110-5-2)

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-v110-5.2
description: "Use LockOut Realms"
category: cis-tomcat
version: "1.1.0"
author: cyberstrike-official
tags: [cis, tomcat, linux, java, realms, authentication, lockout]
cis_id: "5.2"
cis_benchmark: "CIS Apache Tomcat 8 Benchmark v1.1.0"
tech_stack: [linux, tomcat, java]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# 5.2 Use LockOut Realms (Automated)

## Profile Applicability

• Level 2

## Description

A `LockOut` realm wraps around standard realms adding the ability to lock a user out after multiple failed logins.

## Rationale

Locking out a user after multiple failed logins slows down attackers from brute forcing logins.

## Audit Procedure

Perform the following to check to see if a `LockOut` realm is being used:

```bash
# grep "LockOutRealm" $CATALINA_HOME/conf/server.xml
```

## Remediation

Create a lockout realm wrapping the main realm similar to the example below:

```xml
<Realm className="org.apache.catalina.realm.LockOutRealm"
failureCount="3" lockOutTime="600" cacheSize="1000"
cacheRemovalWarningTime="3600">
  <Realm
className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="... />
</Realm>
```

## References

1. http://tomcat.apache.org/tomcat-9.0-doc/realm-howto.html
2. http://tomcat.apache.org/tomcat-9.0-doc/config/realm.html

## CIS Controls

**Controls Version: v8**

**Control:** 4 Secure Configuration of Enterprise Assets and Software

Establish and maintain the secure configuration of enterprise assets (end-user devices, including portable and mobile; network devices; non-computing/IoT devices; and servers) and software (operating systems and applications).

## 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.