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


| Updated: 2025-03-25

Vulnerability identifier: #VU101814

Vulnerability risk: Medium

CVSSv4.0: 8.1 [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: Network

Exploit availability: Yes

Vulnerable software:
Apache Tomcat
Server applications / Web servers

Vendor: Apache Foundation

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Apache Tomcat: 9.0.0-M1 - 9.0.97, 10.0.0-M1 - 10.0.27, 10.1.0-M1 - 10.1.33, 11.0.0-M1 - 11.0.1


External links
https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.98
https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.34
https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.2
https://lists.apache.org/thread/y6lj6q1xnp822g6ro70tn19sgtjmr80r
https://lists.apache.org/thread/42vjtxt4n60ydko8l69vlwlcwr0vdh7z


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability