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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-43857 PoC — Gerapy may contain remote code execution vulnerability

Source
Associated Vulnerability
Title: Gerapy may contain remote code execution vulnerability (CVE-2021-43857)
Description:Gerapy is a distributed crawler management framework. Gerapy prior to version 0.9.8 is vulnerable to remote code execution, and this issue is patched in version 0.9.8.
Description
Proof of Concept exploit for CVE‑2021‑43857: Authenticated Remote Code Execution in Gerapy (<0.9.8). Updated and automated version of the original Exploit‑DB PoC for educational and authorized testing purposes only.
Readme
# Gerapy CVE-2021-43857 (Authenticated RCE)

This repository contains a proof of concept exploit for **CVE-2021-43857**,  
a Remote Code Execution vulnerability affecting **Gerapy < 0.9.8**.

This is an **updated version** of the [original Exploit-DB PoC](https://www.exploit-db.com/exploits/50640),  
with bug fixes and automation for easier reproduction in authorized testing environments.

⚠️ **Disclaimer**:  
This code is published **for educational and authorized penetration testing only**.  
Do not use against systems without explicit permission.  
The author takes no responsibility for misuse.

## Features
- Automates login with default credentials  
- Automatically creates a project (if needed)  
- Sends reverse shell payload  
- Starts a Netcat listener automatically  

## Usage

```bash
python3 exploit.py -t <TARGET_IP> -p <TARGET_PORT> -L <LOCAL_IP> -P <LOCAL_PORT>
```

## Requirements

1. Python 3.x
2. requests and pyfiglet (pip install requests pyfiglet)
3. Netcat (nc)
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
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 →