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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-33733 PoC — Reportlab 安全漏洞

Source
Associated Vulnerability
Title:Reportlab 安全漏洞 (CVE-2023-33733)
Description:Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file.
Description
This project aims at re-analyzing and PoC about CVE-2023-33733. Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file. 
Readme
# CVE-2023-33733 on Reportlab v3.6.12
This lab was set up to test CVE-2023-33733.

## Analyzing process
You can see our analyzing process about this CVE in PDF file on main repo.

## Setup and Run

### Server
#### Setup
```bash
pip3 install -r requirements.txt
```
#### Run
```bash
python3 app.py
```
### Attacker

#### Connect to server

Connect to server IP address
```http://{Server_IP}:4444```<br>
After running, you will see an interface like this, you can upload malicious HTML file to see the RCE.
![Screenshot 2024-04-22 194130](https://github.com/buiduchoang24/CVE-2023-33733/assets/166605385/e504481a-9252-4b8e-b84d-ccab69217c4c)

#### Listening and uploading file
```bash
nc -lvnp 4444
```
Then, upload your evil.html and get the reverse shell
![image](https://github.com/buiduchoang24/CVE-2023-33733/assets/166605385/ffc6a9ea-35b8-4d6e-a6e7-35ede299328e)




File Snapshot

[4.0K] /data/pocs/7cbb879821b989d42fdf78c53451fc9cf37463d0 ├── [1.2K] app.py ├── [4.0K] assets │   ├── [279K] 1000_F_443702089_Du3AvDIohGuY892HOcuAUv7UlZPlURcY.jpg │   ├── [5.7M] bg.svg │   ├── [2.8M] c860da74910a36e98da7eada780c1330.svg │   ├── [ 39K] image.png │   ├── [ 54K] image-removebg-preview.png │   ├── [ 828] Picture1.svg │   ├── [7.6K] Picture2.svg │   ├── [ 828] Picture3.svg │   └── [526K] rpl.svg ├── [ 199] clean.html ├── [4.5M] CVE-2023-33733.pdf ├── [ 539] evil.html ├── [ 871] README.md ├── [ 31] requirements.txt ├── [4.0K] static │   ├── [4.0K] js │   │   └── [2.6K] script.js │   └── [4.0K] styles │   └── [2.5K] style.css └── [4.0K] templates └── [2.8M] index.html 5 directories, 18 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 →