Skip to content
File upload Disclosed report Intermediate

File upload vulnerability on a DoD website

A Department of Defense website had a file upload misconfiguration that could let an attacker bypass malicious file detection. The researcher showed this by altering a file enough to defeat signature-based analysis.

korprit Follow

Originally disclosed on HackerOne

  • Triaged in 18 hours
  • Fixed in 3 months
  • Disclosed after 3 months

Summary by the program

A Department of Defense website was misconfigured in a manner that may have allowed an attacker to bypass tests for malicious files when uploading content. @korprit was able to demonstrate this vulnerability by altering the file sufficiently to defeat signature based analysis. Thanks @korprit!

The original report as published on HackerOne, by korprit. 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 upload filter relied only on signature-based detection, which can be evaded by altering the file.

Impact

An attacker could potentially upload a malicious file that evades detection, though the text does not specify what harm that file could cause.

What the attacker needed

Access to the file upload feature

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.

When you upload a file to a website, the site often checks it for known bad patterns, like a virus scanner. This report says those checks could be fooled by changing the file slightly, so a harmful file might get through. The researcher proved it was possible but did not share the exact method.

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 by korprit

View all

11 more disclosed reports, best first.

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.