{"id":10428,"date":"2025-03-17T18:13:53","date_gmt":"2025-03-17T18:13:53","guid":{"rendered":"https:\/\/fusionmindlabs.com\/blogs\/tomcat-vulnerability-exploited\/"},"modified":"2025-03-17T18:13:54","modified_gmt":"2025-03-17T18:13:54","slug":"tomcat-vulnerability-exploited","status":"publish","type":"post","link":"https:\/\/fusionmindlabs.com\/blogs\/tomcat-vulnerability-exploited\/","title":{"rendered":"Tomcat Vulnerability Exploited"},"content":{"rendered":"\n<\/p>\n<div>\n<p><span class=\"p-author\"><i class=\"icon-font icon-calendar\">\ue802<\/i><span class=\"author\">Mar 17, 2025<\/span><i class=\"icon-font icon-user\">\ue804<\/i><span class=\"author\">Ravie Lakshmanan<\/span><\/span><span class=\"p-tags\">Vulnerability \/ Web Security<\/span><\/p>\n<\/div>\n<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\">\n<a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEg0nugq6YDZ6vsyietw1RguIQKa3G8dT9wfvkaAuR2RFuKdA_Iu9watKuRW7Cfef6bFpYipIdW4Fipxfwm1_ZS1Sn9mf7jgxycnIJS8mVKdKFWW-mQ1ptkjYu-3-Blh9Ht5eWad5MNtWKCDSuQqmcr-Zin8Wg228EgjSZXdXsBl4wqeiJZGMljuCBeQ3vlm\/s728-rw-e365\/apache.png\" style=\"clear: left; display: block; float: left;  text-align: center;\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p><\/a>\n<\/div>\n<p>A security flaw in Apache Tomcat, which was recently disclosed, has been actively exploited in the wild just 30 hours after a public proof-of-concept was released.<\/p>\n<p>The vulnerability, identified as <strong><a href=\"https:\/\/tomcat.apache.org\/security-11.html\" rel=\"noopener nofollow\" target=\"_blank\">CVE-2025-24813<\/a><\/strong>, affects the following versions of Apache Tomcat:<\/p>\n<ul>\n<li>Apache Tomcat 11.0.0-M1 to 11.0.2<\/li>\n<li>Apache Tomcat 10.1.0-M1 to 10.1.34<\/li>\n<li>Apache Tomcat 9.0.0-M1 to 9.0.98<\/li>\n<\/ul>\n<p>This vulnerability can lead to remote code execution or information disclosure under specific conditions, including:<\/p>\n<ul>\n<li>Writes enabled for the default servlet (which is disabled by default)<\/li>\n<li>Support for partial PUT requests (which is enabled by default)<\/li>\n<li>A target URL for security-sensitive uploads that is a sub-directory of a target URL for public uploads<\/li>\n<li>Attacker knowledge of the names of security-sensitive files being uploaded<\/li>\n<li>The security-sensitive files are also being uploaded via partial PUT requests<\/li>\n<\/ul>\n<p>Successful exploitation of this vulnerability could allow a malicious user to view security-sensitive files or inject arbitrary content into those files using a PUT request.<\/p>\n<p>Furthermore, an attacker could achieve remote code execution if the following conditions are met:<\/p>\n<ul>\n<li>Writes enabled for the default servlet (disabled by default)<\/li>\n<li>Support for partial PUT requests (enabled by default)<\/li>\n<li>The application uses Tomcat&#8217;s file-based session persistence with the default storage location<\/li>\n<li>The application includes a library that may be leveraged in a deserialization attack<\/li>\n<\/ul>\n<p>According to an advisory released by the project maintainers last week, the vulnerability has been resolved in Tomcat versions 9.0.99, 10.1.35, and 11.0.3, which can be found <a href=\"https:\/\/lists.apache.org\/thread\/j5fkjv2k477os90nczf2v9l61fb0kkgq\" rel=\"noopener nofollow\" target=\"_blank\">here<\/a>.<\/p>\n<div class=\"dog_two clear\">\n<center class=\"cf\"><br \/>\n<a href=\"https:\/\/thehackernews.uk\/cis-securesuite\" rel=\"nofollow noopener sponsored\" target=\"_blank\" title=\"Cybersecurity\"><br \/>\n<img fetchpriority=\"high\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEhsFQaSLfkFdKcodtNnSya8V2yj1C_ZVcqQImhnHDikdLhrgZ4hoAIdzNPEjMn6tIl2dSBa9PZVJm5Q6CW4Iprd32O0xaNt3UTVX1U9kEK629GDLqpr7Dd6lynygeNXdkuKNi_TlVZ1vRZI_fXFdvFwBm25WNf4tQHZfgpXHiaw1nnd6E5jLX8vrn4fB3mN\/s728-e100\/cis-d.png\" width=\"727\" height=\"90\"\/><br \/>\n<\/a><br \/>\n<\/center>\n<\/div>\n<p>However, in a concerning development, the vulnerability is already being exploited in the wild, according to Wallarm.<\/p>\n<p>&#8220;This attack exploits Tomcat&#8217;s default session persistence mechanism along with its support for partial PUT requests,&#8221; the company <a href=\"https:\/\/lab.wallarm.com\/one-put-request-to-own-tomcat-cve-2025-24813-rce-is-in-the-wild\/\" rel=\"noopener nofollow\" target=\"_blank\">explained<\/a>.<\/p>\n<p>&#8220;The exploit works in two steps: The attacker uploads a serialized Java session file via a PUT request. The attacker triggers deserialization by referencing the malicious session ID in a GET request.&#8221;<\/p>\n<p>In other words, the attacks involve sending a PUT request containing a Base64-encoded serialized Java payload that is written to Tomcat&#8217;s session storage directory, which is then executed during deserialization by sending a GET request with the JSESSIONID pointing to the malicious session.<\/p>\n<p>Wallarm also noted that the vulnerability is easy to exploit and requires no authentication, with the only prerequisite being that Tomcat uses file-based session storage.<\/p>\n<p>&#8220;While this exploit abuses session storage, the bigger issue is partial PUT handling in Tomcat, which allows uploading practically any file anywhere,&#8221; the company added. &#8220;Attackers will soon start shifting their tactics, uploading malicious JSP files, modifying configurations, and planting backdoors outside session storage.&#8221;<\/p>\n<p>Users running affected versions of Tomcat are advised to update their instances as soon as possible to mitigate potential threats.<\/p>\n<p><\/p>\n<div class=\"cf note-b\">Found this article interesting?  Follow us on <a href=\"https:\/\/twitter.com\/thehackersnews\" rel=\"noopener nofollow\" target=\"_blank\">Twitter <i class=\"icon-font icon-twitter\">\uf099<\/i><\/a> and <a href=\"https:\/\/www.linkedin.com\/company\/thehackernews\/\" rel=\"noopener nofollow\" target=\"_blank\">LinkedIn<\/a> to read more exclusive content we post.<\/div>\n<\/div>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n<br \/>\n<br \/><a href=\"https:\/\/thehackernews.com\/2025\/03\/apache-tomcat-vulnerability-comes-under.html\" rel=\"nofollow noopener\" target=\"_blank\">Source Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ue802Mar 17, 2025\ue804Ravie LakshmananVulnerability \/ Web Security A security flaw in Apache Tomcat, which was recently disclosed, has been actively exploited in the wild just 30 hours after a public&#8230;<\/p>\n","protected":false},"author":19,"featured_media":10429,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[46,39,32,31,33,34,35,40,36,37,42,44,43,41,38,45],"class_list":["post-10428","post","type-post","status-publish","format-standard","has-post-thumbnail","category-cybersecurity","tag-computer-security","tag-cyber-attacks","tag-cyber-news","tag-cyber-security-news","tag-cyber-security-news-today","tag-cyber-security-updates","tag-cyber-updates","tag-data-breach","tag-hacker-news","tag-hacking-news","tag-how-to-hack","tag-information-security","tag-network-security","tag-ransomware-malware","tag-software-vulnerability","tag-the-hacker-news"],"jetpack_featured_media_url":"https:\/\/fusionmindlabs.com\/blogs\/wp-content\/uploads\/sites\/9\/2025\/03\/apache.png","_links":{"self":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/10428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/comments?post=10428"}],"version-history":[{"count":1,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/10428\/revisions"}],"predecessor-version":[{"id":10430,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/posts\/10428\/revisions\/10430"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media\/10429"}],"wp:attachment":[{"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/media?parent=10428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/categories?post=10428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fusionmindlabs.com\/blogs\/wp-json\/wp\/v2\/tags?post=10428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}