CVE-2024-52316

CRITICAL

Apache Tomcat - Unchecked Error Condition

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-52316. PoCs published by TAM-K592.

AI-analyzed exploit summary The provided repository contains a Python script designed to test for CVE-2024-52316, an authentication bypass vulnerability in Apache Tomcat. The script sends a crafted authentication request and checks the server's response to determine potential vulnerability.

Description

Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may not fail, allowing the user to bypass the authentication process. There are no known Jakarta Authentication components that behave in this way. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M26, from 10.1.0-M1 through 10.1.30, from 9.0.0-M1 through 9.0.95. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.

Exploits (1)

nomisec SCANNER
by TAM-K592 · poc
https://github.com/TAM-K592/CVE-2024-52316

The provided repository contains a Python script designed to test for CVE-2024-52316, an authentication bypass vulnerability in Apache Tomcat. The script sends a crafted authentication request and checks the server's response to determine potential vulnerability.

Classification
Scanner 90%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Theoretical
Target: Apache Tomcat (versions prior to 11.0.0, 10.1.31, 9.0.96)
No auth needed
Prerequisites: Access to the target's authentication endpoint · Apache Tomcat with a custom Jakarta Authentication `ServerAuthContext` component
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4

Scores

CVSS v3 9.8
EPSS 0.0198
EPSS Percentile 84.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-754 CWE-391
Status published
Products (4)
apache/tomcat 11.0.0 milestone1 (26 CPE variants)
apache/tomcat 9.0.0 - 9.0.96
debian/debian_linux 11.0
org.apache.tomcat/tomcat-catalina 0 - 9.0.96Maven
Published Nov 18, 2024
Tracked Since Feb 18, 2026