content-type-sniffing

2 articles
sort: new top best
clear filter
0 9/10

A critical XSS vulnerability on Facebook's CDN was achieved by encoding malicious JavaScript into PNG IDAT chunks, uploading the image as an advertisement, then serving it with an .html extension to trigger HTML interpretation via MIME sniffing. The attacker leveraged document.domain to access the fb_dtsg CSRF token from www.facebook.com and bypass LinkShim protections.

Facebook Akamai akamaihd.net fbcdn.net photo.facebook.com fnt.pe phwd
whitton.io · devanshbatham/Awesome-Bugbounty-Writeups · 20 hours ago · details
0 6/10

XSS vulnerability in dynamically generated JavaScript file endpoint that accepts unsanitized user input via a callback parameter and lacks proper content-type headers, allowing injection of arbitrary JavaScript code that executes in the context of the target domain.

Arbaz Hussain parameth Hurricane Labs Google Gruyere
medium.com · devanshbatham/Awesome-Bugbounty-Writeups · 20 hours ago · details