llamaCVEVulnerability Intelligence
/
Apache Tomcat

CVE-2024-50379

Apache Tomcat: RCE due to TOCTOU issue in JSP compilation

Crítica · EPSS ≥ 10 %Specific setups onlyParche disponiblerace condition
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CISA-ADP
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos151 fuente
Parche3 versionesPrimer parche a -12 d de la divulgación
Exposición702 dDesde la divulgación, 17 dic 2024, 7:34 a. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Umbral EPSS
Remediación
Parche 9.0.98 +2
Monitoreo
Detectada
Verificada
5 dic 24
17 dic 24
20 mar 25
2 nov 26
3 nov 26
4 nov 26
16 nov 26
19 nov 26
5 dic 24
2 jun 25
27 nov 25
25 may 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 9.0.98 org.apache.tomcat:tomcat-catalina · -12 d desde divulgación
Remediación Parche 10.1.34 org.apache.tomcat:tomcat-catalina · -12 d desde divulgación
Remediación Parche 11.0.2 org.apache.tomcat:tomcat-catalina · -12 d desde divulgación
Divulgación Publicada CVE-2024-50379 divulgada · CVSS 9.8 (CISA-ADP)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

Apache Tomcat, a widely used Java web server, is affected when its default servlet is enabled for write on case-insensitive file systems. A race condition during JSP compilation can let an attacker execute arbitrary code on the affected server.

¿Qué significa?A race condition (time-of-check to time-of-use) in how Tomcat handles JSP compilation lets an attacker upload a JSP file that the server then compiles and runs, which allows remote code execution. The facts describe the risk as remote code execution where a JSP uploaded by the attacker is compiled and run by the server.
¿Quién está afectado?Affected are Apache Tomcat 8.5.0 through 8.5.100, 9.0.0.M1 through 9.0.97, 10.1.0-M1 through 10.1.33, and 11.0.0-M1 through 11.0.1. The issue requires the DefaultServlet to be enabled for write (readonly=false) and a case-insensitive file system such as Windows or macOS; check the readonly setting for DefaultServlet in web.xml and the file system type of the host.
¿Qué hacer?Upgrade to Tomcat 9.0.98, 10.1.34, or 11.0.2, depending on your release line. If upgrading is not possible right away, set readonly=true on the DefaultServlet in web.xml.
Descripción original del registro (apache)

Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. 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, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
DefaultServlet is enabled for write (readonly=false)“quando o DefaultServlet tem readonly=false”
02
Case-insensitive file system such as Windows or macOS“Em sistemas de arquivos case-insensitive (Windows, macOS)”
MitigaciónSet readonly=true on the DefaultServlet in web.xml
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
Apache Tomcat · org.apache.tomcat:tomcat-catalina · org.apache.tomcat.embed:tomcat-embed-core≥ 8.5.0 ≤ 8.5.100
Apache Tomcat≥ 9.0.0.M1 ≤ 9.0.97
org.apache.tomcat:tomcat-catalina · org.apache.tomcat.embed:tomcat-embed-core≥ 9.0.0.M1 < 9.0.98
tomcat≥ 9.0.0 < 9.0.98
tomcat≥ 10.0.0 < 10.1.34
Apache Tomcat≥ 10.1.0-M1 ≤ 10.1.33
org.apache.tomcat:tomcat-catalina · org.apache.tomcat.embed:tomcat-embed-core≥ 10.1.0-M1 < 10.1.34
Apache Tomcat≥ 11.0.0-M1 ≤ 11.0.1
org.apache.tomcat:tomcat-catalina · org.apache.tomcat.embed:tomcat-embed-core≥ 11.0.0-M1 < 11.0.2
tomcat≥ 11.0.0 < 11.0.2
8.5.0
9.0.0.M1
9.0.97
9.0.98
10.0.0
10.1.33
10.1.34
11.0.0-M1
11.0.1
11.0.2
11.0.29
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavenorg.apache.tomcat:tomcat-catalina
Corregida 9.0.98, 10.1.34, 11.0.2 -12 d · -12 d · -12 d 11.0.29 no afectada
mavenorg.apache.tomcat.embed:tomcat-embed-core
Corregida 9.0.98, 10.1.34, 11.0.2 -12 d · -12 d · -12 d 11.0.29 no afectada
Versiones corregidas9.0.9810.1.3411.0.2
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
Alchemist3dot14/CVE-2024-50379 · Ghost-Bx1/TomcatRace-CVE-2024-50379 · JFOZ1010/Nuclei-Template-CVE-2024-50379 · Lux-J/CVE-2024-50379-exp · SleepingBag945/CVE-2024-50379 · azilRababe/CVE-2024-50379 …
15
Ver los 15 repositorios de GitHub
Alchemist3dot14/CVE-2024-50379
Ghost-Bx1/TomcatRace-CVE-2024-50379
JFOZ1010/Nuclei-Template-CVE-2024-50379
Lux-J/CVE-2024-50379-exp
SleepingBag945/CVE-2024-50379
azilRababe/CVE-2024-50379
dear-cell/CVE-2024-50379
dkstar11q/CVE-2024-50379-nuclei
dragonked2/CVE-2024-50379-POC
iSee857/CVE-2024-50379-PoC
ph0ebus/Tomcat-CVE-2024-50379-Poc
pwnosec/CVE-2024-50379
thunww/CVE-2024-50379
v3153/CVE-2024-50379-POC
yiliufeng168/CVE-2024-50379-POC

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
Análisishttp://www.openwall.com/lists/oss-security/2024/12/17/4
Análisishttp://www.openwall.com/lists/oss-security/2024/12/18/2
Exploithttps://github.com/Alchemist3dot14/CVE-2024-50379
Exploithttps://github.com/Ghost-Bx1/TomcatRace-CVE-2024-50379
Exploithttps://github.com/JFOZ1010/Nuclei-Template-CVE-2024-50379
Exploithttps://github.com/Lux-J/CVE-2024-50379-exp
Exploithttps://github.com/SleepingBag945/CVE-2024-50379
Exploithttps://github.com/azilRababe/CVE-2024-50379
Exploithttps://github.com/dear-cell/CVE-2024-50379
Exploithttps://github.com/dkstar11q/CVE-2024-50379-nuclei
Exploithttps://github.com/dragonked2/CVE-2024-50379-POC
Ver 8 referencias más
Exploithttps://github.com/iSee857/CVE-2024-50379-PoC
Exploithttps://github.com/ph0ebus/Tomcat-CVE-2024-50379-Poc
Exploithttps://github.com/pwnosec/CVE-2024-50379
Exploithttps://github.com/thunww/CVE-2024-50379
Exploithttps://github.com/v3153/CVE-2024-50379-POC
Exploithttps://github.com/yiliufeng168/CVE-2024-50379-POC
Otrahttps://security.netapp.com/advisory/ntap-20250103-0003/
Otrahttps://lists.debian.org/debian-lts-announce/2025/01/msg00009.html

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.