The Channel logo


By | John Leyden 12th November 2007 16:45

Firefox broken Jar vuln. menaces Gmail

Jar Jar links peril

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. ®

comment icon Read 7 comments on this article alert Send corrections


Frank Jennings

What do you do? Use manual typwriters or live in a Scottish croft? Our man advises
A rusty petrol pump at an abandoned gas station. Pic by Silvia B. Jakiello via shutterstock

Trevor Pott

Among other things, Active Directory needs an overhaul
Baby looks taken aback/shocked/affronted. Photo by Shutterstock

Kat Hall

Plans for 2 million FTTP connections in next four years 'not enough'
Microsoft CEO Satya Nadella


Suit-and-tie-wearing man tries to meditate, take deep breaths in faux yoga pose. Photo by Shutterstock
Emotional intelligence, not tech skills, is the way to woo suits
League of gentlemen poster - Tubbs and Edward at the local shop. Copyright BBC
One reselling man tells his tale of woe