Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2017-5638 PoC — Apache Struts 2 输入验证错误漏洞

Source
Associated Vulnerability
Title:Apache Struts 2 输入验证错误漏洞 (CVE-2017-5638)
Description:The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
Description
An implementation of CVE-2017-5638
Readme
### This tool uses an exploit in the Apache Struts framework called [CVE-2017-5638](https://nvd.nist.gov/vuln/detail/CVE-2017-5638) to gain access to a vunerable server through an [OGNL injection](https://www.contrastsecurity.com/knowledge-hub/glossary/ognl-injection-ognl).
## It can be downloaded [here](https://github.com/jptr218/struts_hack/raw/main/struts_hack.exe) (you will need to run it from the command line)
### Usage:

### `struts_hack [target IP] [target port] `
File Snapshot

[4.0K] /data/pocs/ab4e23dc4eac5d54d0d65482b387fd468dd87658 ├── [ 476] README.md ├── [4.0K] src │   ├── [ 442] hdr.h │   ├── [ 396] main.cpp │   ├── [1.9K] misc.cpp │   └── [1.5K] payload.cpp └── [ 82K] struts_hack.exe 1 directory, 6 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →