Skip to content
DoS Disclosed report Beginner

ActiveStorage throws exception when using whitespace as filename, may lead to denial of service of multiple pages

Uploading a profile picture with a filename consisting only of whitespace characters caused an internal server error on every page where the picture was displayed. An attacker could use this to make multiple pages unavailable to all users, resulting in an application-wide denial of service.

ninetynine Follow

Originally disclosed on HackerOne

Medium 6.6 View original
  • Triaged in 40 days
  • Fixed in 52 days
  • Paid in 40 days
  • Disclosed after 2 months

Summary: Hi team, I've found an issue on the profile picture upload feature of your asset - https://hackerone.com, which can allow a malicious attacker to perform an application wide denial of service attack. Description: I was playing with the profile picture upload feature, then i observed that when we change the name of our profile picture to + , %0d%0a , or %20 and then refresh the profile page, it would give an internal server error. Then i observed the same behaviour at everyplace where my profile picture was being reflected for example the programs thanks section, hacktivity section or even the directory section. This leads to site wide Denial of Service that will deny all the users from performing any actions.

Steps To Reproduce

  1. Login and visit edit profile page.
  2. Select a normal profile picture and click Update Profile button
  3. Intercept this Request and change the filename to + by editing the request as shown in ██████████
  4. Turn off the intercept button and the refresh the update page.
  5. Notice that it wont load.

Now the similar behaviour can be observed at every place where your profile picture is shown.

Optional: Supporting Material/References (Screenshots)

  • █████

Optional: Did you use recon data made available by HackerOne to find this vulnerability?

no

Impact

Application wide denial of service. The more places where the profile pictures are being shown, the higher the impact for example - hacktivity, program from page, thanks page, etc

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

An attacker could cause an application-wide denial of service, making multiple pages that display the profile picture unavailable to all users.

What the attacker needed

A user account; ability to upload a profile picture; ability to intercept and modify the upload request

How it was found

  1. Log in and go to the edit profile page.
  2. Select a normal profile picture and click the update profile button.
  3. Intercept the upload request and change the filename to a whitespace character.
  4. Turn off interception and refresh the update page.
  5. Observe that the page fails to load.

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, the website stores its name. If that name is only spaces or similar blank characters, the site returns an internal server error when it tries to show the picture. Because the picture appears on many pages, those pages stop working for everyone, which is a denial of service.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.