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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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.
Description
Apache <= 2.4.48 Mod_Proxy - Server-Side Request Forgery
Readme

<div align="center">
  <img src="https://blogs.cappriciosec.com/uploaders/CVE-2021-40438.png" alt="logo">
</div>


## Badges



[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
![PyPI - Version](https://img.shields.io/pypi/v/CVE-2021-40438)
![PyPI - Downloads](https://img.shields.io/pypi/dm/CVE-2021-40438)
![GitHub all releases](https://img.shields.io/github/downloads/Cappricio-Securities/CVE-2021-40438/total)
<a href="https://github.com/Cappricio-Securities/CVE-2021-40438/releases/"><img src="https://img.shields.io/github/release/Cappricio-Securities/CVE-2021-40438"></a>![Profile_view](https://komarev.com/ghpvc/?username=Cappricio-Securities&label=Profile%20views&color=0e75b6&style=flat)
[![Follow Twitter](https://img.shields.io/twitter/follow/cappricio_sec?style=social)](https://twitter.com/cappricio_sec)
<p align="center">

<p align="center">







## License

[MIT](https://choosealicense.com/licenses/mit/)



## Installation 

1. Install Python3 and pip [Instructions Here](https://www.python.org/downloads/) (If you can't figure this out, you shouldn't really be using this)

   - Install via pip
     - ```bash
          pip install CVE-2021-40438 
        ```
   - Run bellow command to check
     - `CVE-2021-40438 -h`

## Configurations 
2. We integrated with the Telegram API to receive instant notifications for vulnerability detection.
   
   - Telegram Notification
     - ```bash
          CVE-2021-40438 --chatid <YourTelegramChatID>
        ```
   - Open your telegram and search for [`@CappricioSecuritiesTools_bot`](https://web.telegram.org/k/#@CappricioSecuritiesTools_bot) and click start

## Usages 
3. This tool has multiple use cases.
   
   - To Check Single URL
     - ```bash
          CVE-2021-40438 -u http://example.com 
        ```
   - To Check List of URL 
      - ```bash
          CVE-2021-40438 -i urls.txt 
        ```
   - Save output into TXT file
      - ```bash
          CVE-2021-40438 -i urls.txt -o out.txt
        ```
   - Want to Learn about [`CVE-2021-40438`](https://blogs.cappriciosec.com/cve/152/CVE-2021-40438)? Then Type Below command
      - ```bash
          CVE-2021-40438 -b
        ```
     
<p align="center">
  <b>🚨 Disclaimer</b>
  
</p>
<p align="center">
<b>This tool is created for security bug identification and assistance; Cappricio Securities is not liable for any illegal use. 
  Use responsibly within legal and ethical boundaries. 🔐🛡️</b></p>


## Working PoC Video

[![asciicast](https://blogs.cappriciosec.com/uploaders/Screenshot%202024-05-21%20at%2012.52.00%20PM.png)](https://asciinema.org/a/3wzQbQUrSPbB4MM8EGOrseryo)




## Help menu

#### Get all items

```bash
👋 Hey Hacker
                                                                             v1.0
   _______    ________    ___   ____ ___  ___      __ __  ____  __ __ _____ ____
  / ____/ |  / / ____/   |__ \ / __ \__ \<  /     / // / / __ \/ // /|__  /( __ )
 / /    | | / / __/________/ // / / /_/ // /_____/ // /_/ / / / // /_ /_ </ __  |
/ /___  | |/ / /__/_____/ __// /_/ / __// /_____/__  __/ /_/ /__  __/__/ / /_/ /
\____/  |___/_____/    /____/\____/____/_/        /_/  \____/  /_/ /____/\____/

                              Developed By https://cappriciosec.com




CVE-2021-40438 : Bug scanner for WebPentesters and Bugbounty Hunters 

$ CVE-2021-40438 [option]

Usage: CVE-2021-40438 [options]
```


| Argument | Type     | Description                | Examples |
| :-------- | :------- | :------------------------- | :------------------------- |
| `-u` | `--url` | URL to scan | CVE-2021-40438 -u https://target.com |
| `-i` | `--input` | filename Read input from txt  | CVE-2021-40438 -i target.txt | 
| `-o` | `--output` | filename Write output in txt file | CVE-2021-40438 -i target.txt -o output.txt |
| `-c` | `--chatid` | Creating Telegram Notification | CVE-2021-40438 --chatid yourid |
| `-b` | `--blog` | To Read about CVE-2021-40438 Bug | CVE-2021-40438 -b |
| `-h` | `--help` | Help Menu | CVE-2021-40438 -h |



## 🔗 Links
[![Website](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge&logo=ko-fi&logoColor=white)](https://cappriciosec.com/)
[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/karthikeyan--v/)
[![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/karthithehacker)



## Author

- [@karthithehacker](https://github.com/karthi-the-hacker/)



## Feedback

If you have any feedback, please reach out to us at contact@karthithehacker.com
File Snapshot

[4.0K] /data/pocs/0db54b2f9c6afac0ba98e6ea6bdf4cfc7cc6c09d ├── [4.0K] cve202140438 │   ├── [4.0K] includes │   │   ├── [ 654] bot.py │   │   ├── [ 470] filereader.py │   │   ├── [ 0] __init__.py │   │   ├── [2.2K] scan.py │   │   └── [ 285] writefile.py │   ├── [1.7K] main.py │   └── [4.0K] utils │   ├── [1.9K] configure.py │   ├── [ 895] const.py │   ├── [2.3K] helpers.py │   ├── [ 0] __init__.py │   └── [ 227] status.py ├── [1.0K] LICENSE ├── [4.6K] README.md └── [ 996] setup.py 3 directories, 14 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 →