Firefox broken Jar vuln. menaces Gmail
Jar Jar links peril
Posted in Security, 12th November 2007 16:45 GMT
Security watchers are concerned that a protocol handling flaw in Firefox could have implications for the security of data held within Google and, possibly, other web applications.
The flaw, involving the handling of the "jar:" protocol by Firefox, gives rise to cross-site scripting attacks. No patch is available through there are a number of workarounds (such as blocking URIs that contain "jar:" using a reverse proxy or application firewall). For home users, Secunia advises users to avoid following untrusted "jar:" links or visiting untrusted websites.
The jar: protocol is used to extract and render content from ZIP compressed files. Unfortunately the "jar:" protocol handler in Firefox 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.
The trick might be used to conduct cross-site scripting attacks on sites that allow a user to upload certain files, such as .zip or .png.
As the GNUCitizen blog notes application which allow the upload of JAR/ZIP files are potentially vulnerable to a persistent Cross-site Scripting as a result of the bug. Web mail clients, collaboration systems, document sharing systems are all potential targets on attack.
The attack could be used to steal cookie-based authentication credentials, for example. GNUCitizen has published a proof of concept demo that illustrates how a user's contact book in Gmail might be accessed using the approach.
Suitably the results page of the demo is illustrated with a picture of insufferably annoying (and arguably racist) Star Wars character Jar Jar Binks. ®
Free whitepaper - The Botnet Threat: Targeting your Business
Securing your Online Data Transfer with SSL
The Botnet Threat
Extended Validation SSL Certificates
Spam Spikes: A Real Risk to Your Business

Netbooks and Mini-Laptops
How the fate of the US economy rests on a Dell workstation
How many terabytes can you fit on a 2.5-inch hard drive?
China's nonstop music machine