Skip to content
Misconfiguration Disclosed report Beginner

X-Content-Type Header Missing For aspen.io

The web server did not send the X-Content-Type-Options header set to 'nosniff' on its responses. This could let older versions of Internet Explorer and Chrome MIME-sniff the response body and treat it as a different content type than declared.

bugdiscloseguys Follow

Originally disclosed on HackerOne

  • Disclosed after 16 months

The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages. If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform. http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx https://www.owasp.org/index.php/List_of_useful_HTTP_headers. Thanks

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

Older versions of Internet Explorer and Chrome could MIME-sniff the response body and interpret it as a content type other than the declared one; current and legacy Firefox use the declared type instead.

What the attacker needed

Victim uses an older IE or Chrome

The fix

The application or web server should set an appropriate Content-Type and add the X-Content-Type-Options header set to 'nosniff' for all web pages.

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 normally trust the Content-Type a server declares for a file. Some older browsers instead guess the type by looking at the file's contents, which is called MIME-sniffing. A missing 'nosniff' header tells those browsers not to guess, so without it a file could be shown or run as a type the site did not intend.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by bugdiscloseguys

View all

12 more disclosed reports, best first.

More from Gratipay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.