Skip to content
File upload Disclosed report Beginner

Unrestricted File Upload

An endpoint that should require authentication was accessible via a public mode URL, allowing unauthenticated users to create directories and upload files, including executables. An attacker could host malware or conduct social engineering on a .mil domain.

javilarx8 Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in under an hour
  • Fixed in 3 months
  • Disclosed after 8 months

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.

The original report as published on HackerOne, by javilarx8. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application exposed a public mode parameter that bypassed authentication checks on the file management interface.

Impact

An attacker could host malware or perform social engineering attacks using the trusted .mil domain.

What the attacker needed

No authentication required; access to the public mode URL

The fix

Authentication should be enforced on all endpoints, and file uploads should be restricted to necessary types, excluding executables.

How it was found

  1. Navigate to the public mode URL.
  2. Create a sub-directory.
  3. Upload test files.
  4. Files are hosted on the .mil website without authentication.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A file upload feature on a website was supposed to require login, but a special URL let anyone access it without logging in. This meant anyone could upload files, even dangerous programs, to a trusted government domain. That could be abused to trick people into downloading malware.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.