Skip to main content
← All vulnerabilities
CVE-2024-50379GHSA-5J33-CVVR-W245BIT-TOMCAT-2024-50379

Apache Tomcat: RCE due to TOCTOU issue in JSP compilation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.0.2, 10.1.34, 9.0.98
15 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation 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; From 8.5.0 · through 8.5.100

  • org.apache.tomcat:tomcat-catalinaMaven

    From 11.0.0-M1 · fixed in 11.0.2

  • org.apache.tomcat:tomcat-catalinaMaven

    From 10.1.0-M1 · fixed in 10.1.34

  • org.apache.tomcat:tomcat-catalinaMaven

    From 9.0.0.M1 · fixed in 9.0.98

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 11.0.0-M1 · fixed in 11.0.2

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 10.1.0-M1 · fixed in 10.1.34

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 9.0.0.M1 · fixed in 9.0.98

  • org.apache.tomcat:tomcat-catalinaMaven

    From 8.5.0 · through 8.5.100

  • org.apache.tomcat.embed:tomcat-embed-coreMaven

    From 8.5.0 · through 8.5.100

References 16

lists.apache.org

GitHub · Alchemist3dot14/CVE-2024-50379

GitHub · Ghost-Bx1/TomcatRace-CVE-2024-50379

GitHub · JFOZ1010/Nuclei-Template-CVE-2024-50379

GitHub · Lux-J/CVE-2024-50379-exp

GitHub · SleepingBag945/CVE-2024-50379

GitHub · azilRababe/CVE-2024-50379

GitHub · dear-cell/CVE-2024-50379

GitHub · dkstar11q/CVE-2024-50379-nuclei

GitHub · dragonked2/CVE-2024-50379-POC

GitHub · iSee857/CVE-2024-50379-PoC

GitHub · ph0ebus/Tomcat-CVE-2024-50379-Poc

GitHub · pwnosec/CVE-2024-50379

GitHub · thunww/CVE-2024-50379

GitHub · v3153/CVE-2024-50379-POC

GitHub · yiliufeng168/CVE-2024-50379-POC