U.S. Dept Of Defense · Report #698793
Unauthenticated arbitrary file upload on the https://█████/ (█████.mil)
Validstatus
highseverity
12upvotes
19 Jul 2024disclosed
How it was found
Description
I was able to identify unsafe upload endpoint on the https://██████/upload.php
POC
- Go to the https://██████/upload.php
- Upload some test file. You will see success message, leaking some internal paths
- Visit
https://██████████/delete.meand you will see your uploaded file there I uploaded example image file there: █████
Impact
Arbitrary file upload, may lead to the Stored XSS, hosting attacker's content and code execution.