MacNN Forums (http://forums.macnn.com/)
-   Tech News (http://forums.macnn.com/tech-news/)
-   -   HTML5 flaw lets browsers fill hard drives with junk data (http://forums.macnn.com/113/tech-news/498591/html5-flaw-lets-browsers-fill-hard/)

 
NewsPoster Mar 4, 2013 07:24 PM
HTML5 flaw lets browsers fill hard drives with junk data
On the heels of more problems with browser plug-ins such as <a href="http://www.electronista.com/articles/13/03/01/real.world.malware.called.inconsistent/">Java</a> and <a href="http://www.electronista.com/articles/13/02/07/exploits.affect.both.platforms.one.targets.the.mac .specifically/">Flash</a>, a newly-discovered <a href="http://feross.org/fill-disk/">flaw in HTML5</a> -- used throughout the web and a fundamental part of all modern browsers -- can be used maliciously to fill hard drives to capacity with junk data. The exploit can be demonstrated on a website set up to document the flaw, called <a href="http://www.filldisk.com/">Filldisk</a>. All browsers are susceptible to it -- though Mozilla's <a href="http://www.electronista.com/articles/13/02/19/downloads.made.available.earlier.than.official.lau nch/">Firefox</a> features a hard cap of 5MB of such data and thus mitigates the effect, while some older 32-bit browsers may crash rather than fill up the drive.<br /><br />A developer named Feross Aboukhadijeh discovered the problem, which concerns how HTML5 handles local data storage. Though all browsers have a data cap (usually set by the user), it can be bypassed by creating linked "temporary" websites that each get the same storage allotment as the primary site, all invisible to the visitor. The HTML5 specification actually already addresses this problem and says that "affiliate" sites should be limited to the cap assigned to the primary site, however most browsers (apart from Firefox) don't honor the guideline.

The practical effect is that a malicious website could dump sufficient data onto a hard drive to fill it up after only a few minutes -- Aboukhadijeh was able to pump as much as 1GB of data every 16 seconds on some machines. He had already reported the flaw to all browser makers before creating the public website. No malicious use of the flaw has been seen in the wild so far. Visitors to the Filldisk site can see the effect in action, but can reclaim all the space by simply stopping the dumping of cat pictures (an arbitrary example of junk data).


<div align="center"><iframe width="500" height="281" src="http://www.youtube-nocookie.com/embed/XkScSMIr_00?rel=0" frameborder="0" allowfullscreen></iframe></div>
 
All times are GMT -4. The time now is 02:35 PM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2016, vBulletin Solutions, Inc.


Content Relevant URLs by vBSEO 3.3.2