Skip to content
File upload Disclosed report Beginner

Arbitrary file uploads to Amazon WS.

The report claims that the UI allows uploading arbitrary files to Amazon Web Services, including executable malware disguised as images. An attacker could use this to host malicious files and trick users into downloading them.

leander Follow

Originally disclosed on HackerOne

  • Disclosed after 9 days

Hi,

It seems one is able to upload arbitrary files to Amazon Webservices through the UI.

This allows for uploading malware such as msf-payload-x86.jpg.exe or whatever.

Beyond free hosting this could potentially be used to entice teams into downloading stuff they probably don't want.

Actual exploitation would likely depend on obfuscating the filename to look more innocent, general human errors, a certain trust in files being served from hackerone-attachments.*.amazonaws.com or separate issues entirely.

I could imagine this to be working as intended but still believe it would be good to consider restrictions even if the result is to not enforce any.

I would propose to at least consider displaying a warning similar to the (excellent) one displayed when visiting an external link.

HTH,

-leander

The original report as published on HackerOne, by leander. 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

Impact

This could be used to host malware and entice users to download it, though actual exploitation depends on social engineering and user trust.

What the attacker needed

Ability to upload files via UI

The fix

The reporter suggests considering restrictions or at least displaying a warning similar to the external link warning.

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.

This report says a website lets people upload any kind of file, even dangerous programs. Someone could upload a virus and share a link to it, hoping others will download and run it. The reporter is not sure if this is a bug or intended, but suggests adding a warning.

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 leander

View all

2 more disclosed reports, best first.

More from HackerOne

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.