Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-50379-POC — Proof-of-concept exploit for CVE-2024-50379, a TOCTOU race condition in Apache Tomcat leading to remote code execution on case-insensitive file systems. | Kitploit
Tools/GitHubGitHub/v3153/cve-2024-50379-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubv3153/cve-2024-50379-poc

CVE-2024-50379-POC

Proof-of-concept exploit for CVE-2024-50379, a TOCTOU race condition in Apache Tomcat leading to remote code execution on case-insensitive file systems.

View Repository
431 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    628
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    413
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    366
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    329
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    287

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-50379 Exploitation and POC

This repository contains a Proof of Concept (POC) for CVE-2024-50379, a vulnerability affecting Apache Tomcat. The issue involves a Time-of-Check Time-of-Use (TOCTOU) race condition, which can lead to Remote Code Execution (RCE), especially on case-insensitive file systems like Windows.


Table of Contents

  • Description
  • POC
  • Usage
  • Security Considerations
  • License

Description

CVE-2024-50379 is a vulnerability in Apache Tomcat that allows attackers to execute arbitrary code through a TOCTOU race condition. On case-insensitive file systems (e.g., Windows or macOS) and improperly configured servlets, this issue can be exploited.


POC

Overview

The POC demonstrates the exploitation of CVE-2024-50379 by uploading a malicious JSP file that can replace existing files with a different case (FILE.JSP overwriting file.jsp) in a Windows-based environment.

POC Video

Download and play the POC.mp4 file from the repository.

Steps:

  1. File Upload Exploit:

    • On a Windows server, upload a JSP file (file.jsp).
    • Quickly replace it with a differently-cased file (FILE.JSP).
    • Due to the case-insensitive nature, the older file (file.jsp) will be overwritten.
  2. Changes in web.xml:

    • Misconfigured permissions in web.xml can enable write access for the Default Servlet, making the exploitation possible.

Usage

  1. Deploy Apache Tomcat server.
  2. Configure the Default Servlet with write permissions.
  3. Use the provided POC to upload JSP files and exploit the TOCTOU race condition.

Security Considerations

  • This POC is for educational purposes only.
  • DO NOT USE this in production without strict security measures.
  • Ensure proper configuration of servlets and file systems to mitigate similar vulnerabilities.

Blog

For more insights into CVE-2024-50379, check out my detailed blog:
Deep Dive & POC of CVE-2024-50379 in Apache Tomcat


License

This repository is provided under the MIT License.

Download Tool