[Full-disclosure] Firefox bookmark cross-domain surfing vulnerability



There is an interesting vulnerability in how Firefox handles bookmarks.
The flaw allows the attacker to steal credentials from commonly used
browser start sites (for Firefox, Google is the seldom changed default;
that means exposure of GMail authentication cookies, etc).

The problem: it is relatively easy to trick a casual user into bookmarking
a window that does not point to any physical location, but rather, is an
inline data: URL scheme. When such a link is later retrieved, Javascript
code placed therein will execute in the context of a currently visited
webpage. The destination page can then continue to load without the user
noticing.

The impact of such a vulnerability isn't devastating, but as mentioned
earlier, any attention-grabbing webpage can exploit this to silently
launch attacks against Google, MSN, AOL credentials, etc. In an unlikely
case the victim is browsing local files or special URLs before following a
poisoned bookmark, system compromise is possible.

Thanks to Piotr Szeptynski for bringing up the subject of bookmarks and
inspiring me to dig into this.

Self-explanatory demo page:
http://lcamtuf.coredump.cx/ffbook/

This is being tracked as:
https://bugzilla.mozilla.org/show_bug.cgi?id=371179

/mz
http://lcamtuf.coredump.cx

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/



Relevant Pages

  • Re: [Full-disclosure] Firefox bookmark cross-domain surfing vulnerability
    ... The flaw allows the attacker to steal credentials from commonly used ... launch attacks against Google, MSN, AOL credentials, etc. ... a Month of Firefox Bugs. ...
    (Full-Disclosure)
  • Firefox bookmark cross-domain surfing vulnerability
    ... There is an interesting vulnerability in how Firefox handles bookmarks. ... The flaw allows the attacker to steal credentials from commonly used ... launch attacks against Google, MSN, AOL credentials, etc. ...
    (Bugtraq)
  • Re: [Full-disclosure] Firefox bookmark cross-domain surfing vulnerability
    ... > There is an interesting vulnerability in how Firefox handles bookmarks. ... > The flaw allows the attacker to steal credentials from commonly used ...
    (Full-Disclosure)
  • Re: google chrome - download manager?
    ... Can you install the Google toolbar for Safari? ... Just found out that if you go to the google bookmarks page (http:// ...
    (rec.music.gdead)
  • Re: Google Bookmarks
    ... If you use Google Bookmarks, then they have to be stored on Google's site as the whole point is to make them accessible to you no matter which computer you are using. ... Having said that, being predominantly someone who shuttles between my home and work laptops, I mostly use the browser's favourites locally and I occasionally upload the browser bookmarks to Google Bookmarks for the occasional access-from-elsewhere situations. ...
    (soc.genealogy.computing)