News for hackers. Stuff that matters.
Re:An XSS on Facebook via PNGs and Wonky Content Types by grrowl on Wednesday March 16, 2016 @10:47PM (#11302277)
It is weird. I suppose as a result of storing file content by hash only (without extension), then determining the Content-Type header based on the user-supplied extension. Unless they're storing the original filename, they'll have to run through the binary data to determine file type.

Crucially though, is they removed the DNS forward to the CDN. Which means they're actually storing .html files on those CDN servers. For ads, presumably, but it seems terribly silly to be storing .html files there at all.

There are no comments on this comment yet.