Web Hack List

Collected research

How Facebook lacked X-Frame-Options and what I did with it

Facebook's serverfbml.php plugin endpoint relied on JavaScript frame-busting and sent no X-Frame-Options header. Framing it under view-source: in Firefox and using a double drag-and-drop UI redressing game, an attacker could pull the page's HTML source cross-origin, harvesting the victim's user ID and the fb_dtsg and post_form_id anti-CSRF tokens, then post statuses and send friend requests.

Record

Published by
blog.kotowicz.net
Topic
Other

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of blog.kotowicz.net, first published at the original source. Preserved copies are kept so the citation survives its host; this one was last captured on .