Anti-MIME-Sniffing header X-Content-Type-Options header has not been set.
The host serving user profile photos does not send the X-Content-Type-Options: nosniff header. An attacker who can upload an image containing script content could have it executed as JavaScript in older Internet Explorer versions.
- Triaged in 11 days
- Fixed in 22 days
- Paid in 22 days
- Disclosed after 12 months
Hi,
The following host "profile-photos-user-content.hackerone.com" does not set the x-content-type-options header to nosniff. If a malicious user is able to upload an image with script content (Possible within the comments metadata) Internet Explorer (up till IE8) might render the content as Javascript and execute malicious code.
The problem is more severe since the photos are uploaded to a subdomain of hackerone.com.
Cheers,
Attachments

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 web server or application does not send the X-Content-Type-Options: nosniff response header for user-uploaded content.
Impact
In Internet Explorer up to version 8, an uploaded image containing script could be rendered as JavaScript and execute, which is more serious because the photos are served from a subdomain of the main site.
What the attacker needed
Ability to upload an image with script content; victim uses Internet Explorer 8 or older
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.
Browsers sometimes guess a file's type from its contents rather than trusting the server's label. If a file that looks like an image actually contains code, an old browser might run that code. The nosniff header tells the browser to trust the server's label and not guess.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.