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

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2021-40438 PoC — mod_proxy SSRF

Source
Associated Vulnerability
Title:mod_proxy SSRF (CVE-2021-40438)
Description:A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.
Readme
>Note: Intended only for educational and controlled testing purposes. Only test on systems you have permission to assess.

# CVE-2021-40438 - SSRF Exploit

        ░█▀▀░█░█░█▀▀░░░░░▀▀▄░▄▀▄░▀▀▄░▀█░░░░░░█░█░▄▀▄░█░█░▀▀█░▄▀▄
        ░█░░░▀▄▀░█▀▀░▄▄▄░▄▀░░█/█░▄▀░░░█░░▄▄▄░░▀█░█/█░░▀█░░▀▄░▄▀▄
        ░▀▀▀░░▀░░▀▀▀░░░░░▀▀▀░░▀░░▀▀▀░▀▀▀░░░░░░░▀░░▀░░░░▀░▀▀░░░▀░

## Usage
```bash
# Basic usage
python3 exploit.py "http://vulnerable-site.com" "http://internal-service/"
```

```bash
# With proxy (e.g., Burp Suite)
python3 exploit.py "http://vulnerable-site.com" "http://internal-service/" --proxy "http://127.0.0.1:8080"
```

## Arguments
- `url`: The target vulnerable URL
- `ssrf`: The internal service URL to fetch
- `-p, --proxy`: (Optional) HTTP proxy to use for debugging



https://www.cvedetails.com/cve/CVE-2021-40438

File Snapshot

[4.0K] /data/pocs/6b99d51cb960001e1ed3e578df862f627f813a18 ├── [1.7K] exploit.py └── [1.1K] README.md 1 directory, 2 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 →