Vulnerablility discovered in how Firefox handles bookmarks

Posted on 22 February, 2007
This item is filed under [Security, Tech News]

February 22, 2007 · 0 comments

Michal Zalewski has discovered an interesting vulnerability in how Firefox handles bookmarks.

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 otherwise convincingly pretending to be a “tangible” webpage.

When the bookmark is later clicked, javascript code within the link will execute in the context of a last visited webpage. Actually this is a technique used by a legitimate mechanism of bookmarklets except that bookmarklets don’t attempt to camouflage as a webpage, cannot be normally added with Ctrl-D alone, and are expected to be entered and invoked as a conscious user action instead.

Zalewski says the vulnerability is not really devastating but warns that any attention-grabbing webpage can spawn such a window for the user to bookmark, and then exploit this to launch attacks against, for example, common start pages such as Google, MSN, or AOL, possibly stealing credentials for services such as Google Mail. In an unlikely case the victim is browsing local files or special URLs, system compromise is possible.

You can follow the following steps to see a demo of the vulnerability:

  1. Click here to begin the test.
  2. Follow the displayed instructions: bookmark the page, close the window.(…later…)
  3. Visit Google.com homepage.
  4. Open your bookmarks, choose the recently added entry (“Amazingly cool page!”).

Depending on the outcome of this test, you will be taken back to an appropriate page on this server.

Last news is that Mozilla’s security response team is working on a fix.

Enjoyed this post? Share it with others.
  • email
  • Print
  • Digg
  • StumbleUpon
  • Technorati
  • Reddit
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • FriendFeed
  • BlinkList
  • Diigo
  • LinkedIn
  • Propeller
  • IndianPad
  • MySpace
  • Slashdot

Subscribe Now

If you enjoyed this post, you will definitely enjoy our others. Subscribe to the feed to get future posts delivered right to your mailbox or feedreader.

Powered by Thesis

Thesis Theme

An amazing WordPress Theme, nothing beats the versatility and SEO friendliness of the Thesis framework.

From beginners, to the most advanced WordPress developers, Thesis makes it easy for anyone to customize it.


Leave a Comment

Previous post:

Next post: