On MovieTome: TOP 10: Film franchises that must DIE!
BNET Business Network:
BNET
TechRepublic
ZDNet

November 16th, 2007

Belated Firefox patch coming for (another) protocol handling bug

Posted by Ryan Naraine @ 5:50 pm

Categories: Botnets, Browsers, Data theft, Exploit code, Firefox, Google, Hackers, Microsoft, Open source, Passwords, Patch Watch, Pen testing, Responsible disclosure, Spam and Phishing, Spyware and Adware, Viruses and Worms, Vulnerability research, Zero-day attacks

Tags: Mozilla Firefox, Attacker, Site, Web Browsers, Security, Internet, Ryan Naraine

Mozilla working on Jar protocol fixMozilla security chief Window Snyder says the “jar:” protocol handler issue that currently haunts Firefox will be fixed very soon in the next refresh of the browser.

The problem (see previous coverage) is that Firefox’s “jar:” protocol handler does not validate the MIME type of the contents of an archive, which are then executed in the context of the site hosting the archive. This can be exploited to conduct cross-site scripting attacks on sites that allow a user to upload certain files (e.g. .zip, .png, .doc, .odt, .txt).

[ ALSO SEE: Firefox feature introduces danger ]

On the official Mozilla security blog, Snyder explains the vulnerability and attack vector:

Firefox supports the Java Archive URI scheme that allows the addressing of the contents of zip archives. An attacker may upload a zip format file to a trusted site that allows users to upload content. The victim clicks on a link on the attacker’s website or in an email that links to the uploaded content on a trusted site. Since the content is loaded from the trusted site, content from the zip file runs in the context of the trusted site. This may allow the attacker to access information stored on the trusted site without the victim’s knowledge.

There is a second issue that if a zip archive is loaded from a site through a redirect, Firefox uses the context from the initiating site. This allows an attacker to take advantage of a site with an open redirect and host content on their own malicious site that will execute with the permissions of the redirecting site.

There is a proof of concept that demonstrates these issues in an attack against GMail that allows the attacker access to the victim’s stored GMail contacts.

The GMail proof-of-concept is available here.

Starting with Firefox 2.0.0.10, which is currently in testing, the browser will only support the jar scheme for files that are served with the correct application/java-archive MIME type. Firefox will also adjust the security context to recognize the final site as the source of the content, Snyder said.

Snyder did not say why it took nearly eight months to address this vulnerability, especially since it was found internally back in February by Mozilla’s Jesse Ruderman.

Also see Giorgio Maone’s detailed description of this issue, which includes a criticism of my previous mitigation advice and Maone’s own workaround.

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

  • Talkback
  • Most Recent of 11 Talkback(s)
5. A goat
That refuses to run with the herd of sheep.

Won't even jump off the cliff with them,
either.... (Read the rest)
Posted by: Ole Man Posted on: 11/24/07 You are currently: a Guest | | Terms of Use
The noscript workaround is a little intrusive...  magcomment | 11/17/07
NoScript  JDThompson | 11/19/07
RE: Belated Firefox patch coming for (another) protocol handling bug  FROM DOWN UNDER | 11/17/07
NoScript = welcome in the ancient plain text world  qmlscycrajg | 11/18/07
NS "not practicable"  revnomad | 11/20/07
NoScript is basically useless.  qmlscycrajg | 11/18/07
I won't say that  Ryan NaraineZDNet Moderator | 11/19/07
Guess you are one of the lazy folks  Linux User 147560 | 11/19/07
The biggest problem with any open source?  ejhonda | 11/19/07
Not really... more like  Linux User 147560 | 11/19/07
5. A goat  Ole Man | 11/24/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

  • Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
  • More from IBM
  • Innovate your business' process model, play against the market, compete against others on our scoreboards and WIN! Try INNOV8 2.0: A BPM Simulator
  • Enabling Real-World Business Transformation through IBM Service Management Read the EMA Analyst Report
Click Here