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
CVE-2022-22965 — Vulnerabilidad RCE en Spring Framework vía Data Binding on JDK 9+ (CVE-2022-22965 aka "Spring4Shell") | Kitploit
Tools/GitHubGitHub/guayoyocyber/cve-2022-22965
Vulnerability AnalysisExploitationWeb SecurityLearning & EducationLabs & Practice
GitHubguayoyocyber/cve-2022-22965

CVE-2022-22965

Vulnerabilidad RCE en Spring Framework vía Data Binding on JDK 9+ (CVE-2022-22965 aka "Spring4Shell")

View Repository
6364 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2022-22965 aka "Spring4Shell"

RCE vulnerability in Spring Framework via Data Binding on JDK 9+

The goal is to centralize as much publicly known information as possible to date about the vulnerability and to know what actions to take in such a case.

Is my application vulnerable?

The conditions (AND) that must be met are:

  • JDK 9 +
  • Apache Tomcat as Servlet container
  • Application packaged as WAR
  • spring-webmvc or spring-webflux dependency

My application is built as an executable Spring Boot jar, is it vulnerable?

As of today, it is not vulnerable to the exploit. But keep in mind that this vulnerability is more general in nature, so there could be other ways to exploit it.

Affected products

Spring Framework

  • 5.3.0 to 5.3.17
  • 5.2.0 to 5.2.19

Older or no longer supported versions are also affected.

Mitigation

Spring Framework

  • 5.3.18+
  • 5.2.20+

Other mitigation alternatives

In case patching the vulnerability is not possible, Spring published some workarounds.

Apache Tomcat has released 3 new versions that offer adequate protection: 10.0.20, 9.0.62 and 8.5.78, and it is suggested that they be considered as an additional layer of protection to the Spring Framework update.

Additional updates

Spring Boot versions 2.6.6 and 2.5.12 were released, which depend on Spring Framework 5.3.18.

Detection

You can use the tool https://github.com/hillu/local-spring-vuln-scanner (mirror) to detect instances vulnerable to Spring4Shell. A possible execution example is:

./local-spring-vuln-scanner --verbose --log </path/to/file.log> </path/to/app1> </path/to/appN>

We have developed a detection rule for Wazuh that you can find in the "detection" directory of this repository, which, based on a set of attack indicators (IOA), makes it possible to detect attack attempts.

Other CVEs and/or misconceptions

  • There was speculation about a commit regarding the confirmation to deprecate the use of the SerializationUtils.deserialize(...) method. This class is not exposed to external inputs and the deprecation is not related to this vulnerability.

  • There was confusion with a CVE for Spring Cloud Function that was published just before the disclosure of this vulnerability CVE-2022-22963. It is also not related.

Lab

TryHackMe has created an interactive Spring4Shell exploitation lab

  • https://tryhackme.com/room/spring4shell

References

  • https://tanzu.vmware.com/security/cve-2022-22965
  • https://app.howlermonkey.io/vulnerabilities/CVE-2022-22965
  • https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement
  • https://spring.io/blog/2022/04/01/spring-framework-rce-mitigation-alternative
  • https://www.lunasec.io/docs/blog/spring-rce-vulnerabilities
  • https://www.cyberkendra.com/2022/03/spring4shell-details-and-exploit-code.html
  • https://www.praetorian.com/blog/spring-core-jdk9-rce/
  • https://mp.weixin.qq.com/s/kgw-O4Hsd9r2vfme3Y2Ynw
  • http://blog.o0o.nu/2010/06/cve-2010-1622.html
  • https://www.microsoft.com/security/blog/2022/04/04/springshell-rce-vulnerability-guidance-for-protecting-against-and-detecting-cve-2022-22965/
  • https://unit42.paloaltonetworks.com/cve-2022-22965-springshell/
Download Tool