Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-50379 — CVE-2024-50379 is a critical vulnerability affecting multiple versions of Apache Tomcat, an open source web server and servlet container widely used for deploying Java-based web applications. The vulnerability arises from a Time-of-Use (TOCTOU) race condition that occurs when compiling JavaServer Pages (JSPs). | Kitploit
Tools/GitHubGitHub/alchemist3dot14/cve-2024-50379
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubalchemist3dot14/cve-2024-50379

CVE-2024-50379

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
121 year agoNot yet reviewed

About

CVE-2024-50379 is a critical vulnerability affecting multiple versions of Apache Tomcat, an open source web server and servlet container widely used for deploying Java-based web applications. The vulnerability arises from a Time-of-Use (TOCTOU) race condition that occurs when compiling JavaServer Pages (JSPs).

Share

CVE-2024-50379 Proof of Concept (PoC)

This repository contains a proof of concept (PoC) script to exploit CVE-2024-50379, a vulnerability in Apache Tomcat. The vulnerability is a Time-of-Check Time-of-Use (TOCTOU) race condition that can lead to remote code execution (RCE) if the server's configuration allows writable directories.


Features

  • Uploads a malicious JSP shell to the vulnerable Apache Tomcat server.
  • Executes arbitrary system commands via the uploaded shell.
  • Demonstrates the exploitation process for CVE-2024-50379.

Requirements

  • Python: Version 3.x
  • Python Libraries: requests
    • Install using:
      root@kitploit:~
      pip3 install requests
      

Usage

1. Setup Vulnerable Environment

Ensure you have a vulnerable version of Apache Tomcat (e.g., 10.1.33) configured with:

  • Writable /uploads directory.
  • An upload handler JSP file (upload.jsp).

2. Run the PoC Script

To run the script, use the following command:

root@kitploit:~
python3 poc.py <command>
Download Tool