The Inquirer-Home

HTML5 poses security risks

It's plagued by security issues, report says
Tue Aug 02 2011, 18:11

DESPITE THE FACT that its well on its track to becoming a standard, HTML5 remains plagued by security issues that place users at risk.

According to a newly published report by the European Union cyber security agency ENISA, the security threats aren't small - there are at least 50 of them. HTML5's current specifications have flaws that range from weaknesses in the Cross-Origin Resource Sharing (CORS) implementation to features that render click jacking mitigation methods unusable.

CORS, a specification that allows clients to securely mix resources from multiple domains, opens an attack surface on legacy servers that can't understand the corresponding requests. This enables attackers to trigger cross-domain APIs.

HTML5's web messaging specification also has cross-origin issues. For one, it doesn't provide a mechanism for a frame that exchanges content with a second one securely, to prevent it from passing it to a third untrusted origin.

The security risks raised by CORS are not new. A year ago security researcher Matt Austin explained how this HTML5 feature can render old code insecure. He proved this concept on touch.facebook.com, Facebook's web site for touch devices, where the code proved vulnerable to this weakness.

By exploiting this issue, he was able to post messages from the accounts of Facebook users who simply visited a specially-crafted web page. Worse still, his attack was invisible to the affected website because it was executed client-side, within the web browser.

Researchers have found that the HTML5 specification that allows remote services to be registered as content handlers fails to properly inform users. This potentially allows a service to remain registered as a protocol handler indefinitely.

The HTML5 standard also makes it harder to protect against clickjacking, a form of web attack that relies on using legitimate web techniques to hide and overlap buttons in a malicious manner. A common clickjacking mitigation method is to use Javascript code that prevents windows from being framed.

This is known as frame busting and is rendered useless by the HTML5 i-frame sandbox option. Attackers can also more easily trick users into submitting sensitive data to a destination under their control thanks to the HTML5 capability of using buttons outside forms.

The new standard also puts user privacy at risk because of a feature known as cache polling that allows attackers to retrieve people's last location, as well as the time when they were in that location, through the geolocation cache API.

Hopefully, the W3C working groups involved in the development of HTML5 will address these security issues as soon as possible so that browser developers can implement the fixes and protect their users. However, many of the affected specifications are already supported by most browsers. µ

Share this:

Comments
What say you Apple?

The W3C has already warned that HTML5 was not ready for production use. Apple points the finger at Adobe calling its wares security risks when the very platform that they champion is plagued with security issues of another sort. Updating a standard is aguably worst because of all the changes across implemenations that are require, where flash can be patched.

All of Apples other comments about Flash are overshadowed by security. That Flash is not good for battery life etc is bull... the user should have choice, but that is not Apple's way.

Apple has its own keen agenda most of which is obvious, control and less dependancy being the two main pillars and that is fine, just don't blow smoke up our you know whats...

You know what? Playing video is already a hazard for my batery on the current solutions. They could have worked close with Adobe the way Google did to bring support and make it possible to turn it off when not needed.

Now I worry about Windows 8 and whether HTML5 is ready for serious desktop development... or will a special Windows version with stronger security be implemented? This will be good and bad because of fragmentation of HTML5.

posted by : Mr. Anderson, 03 August 2011 Complain about this comment
Time to abandon web

I've said it many times before, it's time to abandon the web and HTML. All these "standards" that keep extending the use of HTML and HTTP protocol need to be ended.
It's time for a replacement container (browser) and technology.
Web has become so bastardised and always maintaining backwards compatability.
All these hacks that break what things were designed for (just look at CSS, dynamic pages, etc).

posted by : Anon, 03 August 2011 Complain about this comment
aboutus
Advertisement
Subscribe to INQ newsletters
Advertisement
INQ Poll

Facebook starts selling shares

Will you buy Facebook shares?