HexBrain

U.S. Dept Of Defense · Report #683024

Unrestricted File Upload

Validstatus
criticalseverity
8upvotes
11 May 2020disclosed

How it was found

Summary: The endpoint at https://███████/ui/core/index.html required authentication, but navigating to https://█████/ui/core/index.html?mode=public#expl-tabl./SHARED/rpchllmd/CSAT allow for read/write access.

Description: The endpoint at https://████/ui/core/index.html?mode=public#expl-tabl./SHARED/rpchllmd/CSAT allowed for read as well as write access. It was possible to create directories and upload images as well as .exe files such as putty.exe.

Impact

An attacker can attempt to use the site to host malware, or perform social engineering attacks since the domain URL will be a .mil address.

Step-by-step Reproduction Instructions

  1. Navigate to: https://████/ui/core/index.html?mode=public#expl-tabl./SHARED/rpchllmd/CSAT
  2. Create sub-directory
  3. Upload test files
  4. Files are then uploaded and hosted on a .mil website without authenticating to the application.

Product, Version, and Configuration (If applicable)

FileCloud software https://www.getfilecloud.com/

Suggested Mitigation/Remediation Actions

Enforce authentication on endpoints of the application, restrict file uploads to only necessary business requirements. If possible restrict uploads to .jpg .pfd .docx. Don't allowed upload of executable files

Impact

An attacker can attempt to use the site to host malware, or perform social engineering attacks since the domain URL will be a .mil address.

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