Permissions, Privileges, and Access Controls in Apache Tomcat - CVE-2024-50379

 

Permissions, Privileges, and Access Controls in Apache Tomcat - CVE-2024-50379

Published: December 17, 2024 / Updated: June 20, 2025


Vulnerability identifier: #VU101814
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2024-50379
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Apache Foundation
Affected software:
Apache Tomcat

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to missing access restrictions to the default servlet. If the default servlet is write enabled (readonly initialisation parameter set to the non-default value of false) for a case insensitive file system, concurrent read and upload under load of the same file can bypass Tomcat's case sensitivity checks and cause an uploaded file to be treated as a JSP leading to remote code execution.


How to mitigate CVE-2024-50379

Install updates from vendor's website.

Sources