Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Spring-Boot-Tomcat-CVE-2025-24813 — POC for CVE-2025-24813 using Spring-Boot | Kitploit
Tools/GitHubGitHub/n0n-zer0/spring-boot-tomcat-cve-2025-24813
Dynamic Analysis (Sandboxing)Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubn0n-zer0/spring-boot-tomcat-cve-2025-24813

Spring-Boot-Tomcat-CVE-2025-24813

POC for CVE-2025-24813 using Spring-Boot

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
131 year agoNot yet reviewed
Share

CVE-2025-24813: Apache

1. Explanation

Tomcat is vulnerable because of two separate vulnerabilities, the first is a weakness in the DefaultServlet which allows partial puts to write a temp directory see: https://github.com/apache/tomcat/blob/f2a274bc00cf73670a614999561c69a391b5e35f/java/org/apache/catalina/servlets/DefaultServlet.java#L608

The second is the FileStore class, which deserializes any .session file in the temp directory see: https://github.com/apache/tomcat/blob/05a72ef525e41835aaf5ce3d04122970f4aa8c21/java/org/apache/catalina/session/FileStore.java#L202

2. Vulnerable Tomcat Configuration

The application uses Tomcat 10.1.24 (included in Spring-Boot 3.3.0), which is vulnerable to CVE-2025-24813, and configures it with:

  • File-based session persistence using PersistentManager and FileStore
  • Re-enable the defaultServlet(server.servlet.register-default-servlet=true)
  • Read-only mode disabled for the default servlet (readonly=false)

3. Nuclei Template command

See template: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-24813.yaml cooldown period 60 seconds is needed since it takes a while before the Filestore handler picks up the session file and executes the payload: nuclei -target http://localhost:8080/ -t http/cves/2025/CVE-2025-24813.yaml -interactions-cooldown-period 60 -v

Download Tool