HexBrain

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

  1. Go to the https://██████/upload.php
  2. Upload some test file. You will see success message, leaking some internal paths
  3. Visit https://██████████/delete.me and 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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original