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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-34470 PoC — HSC Cybersecurity HC Mailinspector 路径遍历漏洞

Source
Associated Vulnerability
Title:HSC Cybersecurity HC Mailinspector 路径遍历漏洞 (CVE-2024-34470)
Description:An issue was discovered in HSC Mailinspector 5.2.17-3 through v.5.2.18. An Unauthenticated Path Traversal vulnerability exists in the /public/loader.php file. The path parameter does not properly filter whether the file and directory passed are part of the webroot, allowing an attacker to read arbitrary files on the server.
Description
POC and bulk scanner for CVE-2024-34470
Readme
# CVE-2024-34470 PoC and Bulk Scanner

## Overview

This is a proof-of-concept (PoC) and bulk scanner for CVE-2024-34470: Path Traversal vulnerability HSC Mailinspector affects all versions up to 5.2.18.

![Banner](screens/screen.jpg)


## How to Use

### POC in Action:

[![IMAGE POC IN ACTION](https://img.youtube.com/vi/tTkHxQZ2zF4/0.jpg)](https://www.youtube.com/watch?v=tTkHxQZ2zF4)

### Single Target Scan

To scan a single target IP:
```sh
python cve-2024-34470.py -u target
```

### Bulk Target Scan
To mass scan bulk targets:
```sh
python cve-2024-34470.py -f targets.txt
```

## Installation

### Minimum Requirements

- Python 3.6 or higher
- `requests` library

### Installing The Script

```sh
git clone https://github.com/bigb0x/CVE-2024-34470.git; cd CVE-2024-34470
```

### Installing Required Packages

Install the required packages using pip:

```sh
pip install requests
```

## Author

POC was created by [M Ali](https://x.com/MohamedNab1l).

## License

This project is licensed under the MIT License.

## Disclaimer

This provided tool is for educational purposes only. I do not encourage, condone, or support unauthorized access to any system or network. Use this tool responsibly and only on systems you have explicit permission to test. Any actions and consequences resulting from misuse of this tool are your own responsibility.

## References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34470
- https://github.com/osvaldotenorio/CVE-2024-34470
File Snapshot

[4.0K] /data/pocs/b6f80383c7de28fa9454bf90acd2d7edb27b1900 ├── [5.0K] CVE-2024-34470.py ├── [1.4K] README.md └── [4.0K] screens └── [ 61K] screen.jpg 1 directory, 3 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 →