Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Nov 16, 2026

CVE-2024-56337 Scanner

CVE-2024-56337 Scanner - Remote Code Execution (RCE) vulnerability in Apache Tomcat

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
3
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
Description

Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. 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. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
Apache Tomcatby Apache Software Foundation
11.0.0-M1
Updated Nov 16, 2026View on NVD →
Detail

Apache Tomcat, a popular open-source web server and servlet container, is widely used in enterprise environments for hosting Java applications. It is trusted by developers for its robust performance, scalability, and compatibility with a wide range of platforms. Organizations rely on it to deploy web applications securely and efficiently. The software caters to varied use cases, from small-scale personal projects to large, distributed corporate applications. It is maintained by the Apache Software Foundation and is known for being highly configurable to suit different deployment needs. This capability underlines its importance in mission-critical systems across various industries.

The Remote Code Execution (RCE) vulnerability CVE-2024-56337 in Apache Tomcat results from a TOCTOU race condition. This vulnerability allows unauthorized users to perform actions outside their intended permissions, leading to potential execution of arbitrary code. If the server is improperly configured with a write-enabled default servlet, attackers can upload files that execute code. The vulnerability is crucial because it facilitates the full takeover of vulnerable servers if exploited. Organizations are advised to mitigate against this flaw promptly to avoid exploitation in the wild.

Technical details surrounding this vulnerability highlight a case-insensitive filesystem where concurrent file operations lead to a security gap. The vulnerability specifically arises when a writable default servlet allows uploads of non-JSP files that are then accessed as servlets. Improper servlet configuration with `readonly=false` is necessary for exploitation. A benign file upload test via HTTP PUT, followed by a retrieval using HTTP GET, confirms vulnerability presence. Successful exploitation necessitates careful timing to align with these conditions on the filesystem.

Exploiting the vulnerability can lead to severe outcomes, including unauthorized file uploads, undetected malicious code execution, and full server takeover. The RCE potential enables attackers to manipulate the server environment, possibly leading to data breaches and system disruptions. By executing arbitrary code, malicious entities can pivot to internal networks or exfiltrate sensitive information. Thus, it poses a significant risk to the confidentiality, integrity, and availability of targeted systems.

REFERENCES

Solution Advice
  • Set the default servlet readonly to true unless necessary.
  • Upgrade Tomcat to version 9.0.98, 10.1.34, 11.0.2 or later.
  • On Java 8/11, configure the system property sun.io.useCanonCaches to false.
  • Apply any available security patches promptly.
  • Conduct regular security audits and configuration reviews.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.