Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-50379 PoC — Apache Tomcat: RCE due to TOCTOU issue in JSP compilation

Source
Associated Vulnerability
Title:Apache Tomcat: RCE due to TOCTOU issue in JSP compilation (CVE-2024-50379)
Description: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.
Readme
"# CVE-2024-50379" 


CVE-2024-50379 là một lỗ hổng bảo mật nghiêm trọng ảnh hưởng đến Apache Tomcat, cho phép kẻ tấn công khai thác các cấu hình sai hoặc điểm yếu để thực thi mã từ xa (RCE). Khi bị khai thác, lỗ hổng này có thể dẫn đến chiếm quyền điều khiển máy chủ, rò rỉ dữ liệu, hoặc leo thang đặc quyền.

Mục tiêu của repo này là phân tích chi tiết lỗ hổng, tìm hiểu cách khai thác, đồng thời đề xuất biện pháp khắc phục để bảo vệ hệ thống.

 Lưu ý: Tất cả nội dung chỉ nhằm mục đích nghiên cứu và giáo dục. Không sử dụng vào mục đích bất hợp pháp. HiHi

Nội dung sắp có
-Phân tích kỹ thuật CVE-2024-50379
-Cách thức khai thác và ảnh hưởng
-Mô phỏng Proof of Concept (PoC)
-Cách bảo vệ hệ thống khỏi lỗ hổng này
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →