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-29505 — 对CVE-2021-29505进行复现,并分析学了下Xstream反序列化过程 | Kitploit
Tools/GitHubGitHub/myblackmanba/cve-2021-29505
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationLearning & EducationBinary Exploitation
GitHubmyblackmanba/cve-2021-29505

CVE-2021-29505

对CVE-2021-29505进行复现,并分析学了下Xstream反序列化过程

View Repository
625 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

Reproduction Process

In IDEA, import the xstream component's jar package. This reproduction uses the CommonsCollections6 chain for exploitation, so import the commons-collections component jar package. POC is detailed in the attachment. First, use ysoserial to start a malicious RMI server for listening, and use the CommonsCollections6 chain for command execution, as shown below:

root@kitploit:~
java -cp .\ysoserial.jar ysoserial.exploit.JRMPListener 1099 CommonsCollections6  "calc"

1.png At the same time, based on this vulnerability, the Xstrean deserialization process was analyzed and debugged, with records made; see xstream反序列化流程分析.pdf

Download Tool