HTML5 Security Risks

Aaron Weiss, Tech Journalist / Humorist | 12/14/2012 | 15 comments

Aaron Weiss
Using HTML5 for mobile apps can save costs and provide users with a common experience. But HTML5 comes with its own set of security issues.

Several key facets of the HTML5 platform can increase the surface area for security compromises, which may affect the enterprise through apps developed either in-house or by third parties.

Local storage: Before HTML5, cookies were the only way websites could store local data on the client side. But cookies are limited in multiple ways, whereas HTML5 local storage offers a more robust client-side storage solution, including a relational database with SQL access. With client-side storage, HTML5 apps can be both more sophisticated and faster than their web-based predecessors. Users can access key data offline, and apps can manipulate data without network bottlenecks.

But the data stored on the client side will also be more vulnerable to compromise. Hackers who slip through the “same origin rule” that protects access to local storage could extract sensitive data and leak it to malicious servers. In the mobile realm, physical loss or theft of smartphones and tablets could put sensitive data directly into hackers' hands.

This means that using HTML5 local storage to store sensitive data must go hand in hand with security awareness. This might include siloing the most sensitive data to session-only storage (which is destroyed with app exit), or employing the same robust encryption techniques that would be used to store sensitive data on servers.

Cross-Origin Resource Sharing (CORS): A complex subject whose intricacies threaten to trip up developers, CORS is the rules mechanism that defines which data apps can interact with. Before HTML5, this security policy was known as the Same Origin Policy, and it required that web apps interact with code and content delivered from a common parent server to limit the opportunity for hackers to inject malicious data. CORS expands the limitations of the SOP and provides a more sophisticated syntax by which developers can define which origins are allowed to interact with which app behaviors.

The security risk here is not CORS itself but the opportunity for developers to misuse it, writing rules that are either too broad or too vulnerable to exploitation, giving hackers an in-road to cross-site scripting (XSS) attacks and other forms of data hijacking.

WebSockets: HTML5 WebSockets feature an asynchronous, full-duplex network connection directly between web client and server, enabling “push” communications originating from the server. This technology significantly reduces bandwidth for what would be polling-intensive apps, promising payoff in both reduced data usage and app performance. But WebSockets are, at least currently, opaque to many network security tools, which may rely on packet inspection to qualify traffic. In short, use of WebSockets may dilute the effectiveness of present-day network security defenses like web application firewalls.

HTML5 is not inherently insecure, but enterprises that use it need to look at it like using a Swiss Army Knife -- the new features promise great utility, but also more ways to cut yourself.

View Comments: Newest First | Oldest First | Threaded View
Page 1 / 2   >   >>
Nemos   HTML5 Security Risks   1/31/2013 8:10:44 PM
About HTML5
HTML5 seems to be a large step in making the storage of temporary files much more efficient. Having a larger cache for applications for mobile devices has been a problem ever since they came on the market as upon exit, the data would get lost.

What I, however, do not understand is why a solution to the danger of hacking would be to delete the files upon exit of the application, would this not defy the purpose of the whole thing?
batye   HTML5 Security Risks   1/1/2013 11:02:25 PM
Re: Native Apps
maybe, but we should not count out joomla...
singlemud   HTML5 Security Risks   12/28/2012 7:59:59 PM
Re: Native Apps
Total agree. HTML5 comes a long way, it is the future of web dev.
tinym   HTML5 Security Risks   12/18/2012 4:05:56 PM
Re: Native Apps
Getting over the learning curve will certainly bring lots of innovation just as it did with plain old web development.
eethtworkz   HTML5 Security Risks   12/18/2012 2:40:20 PM
Re: Yep...
Damian,

That's good to know!

Flash is beyond Sucky today!!!
Damian Romano   HTML5 Security Risks   12/18/2012 2:21:02 PM
Re: Yep...
@eethtworkz - he actually didn't heavily weigh in on Flash, but did discuss the reasons Apple won't utilize it. I don't disagree with you that eventually there will be no choice but to utilize HTML5.
eethtworkz   HTML5 Security Risks   12/18/2012 2:04:58 PM
Re: Yep...
Damian,

What did your Professor Say about Flash?

Is he happy with their solutions?

What about Native Apps?

As I had said in an earlier post here;We really have no alternative;its Proper Adoption of HTML5 or bust today!!!!

 

Regards

Ashish.
eethtworkz   HTML5 Security Risks   12/18/2012 2:02:16 PM
One needs to look at the Alternatives first.
Aaron,

Great post!

Thanks for enlightening us some very serious Security Issues facing HTML5.

But when one looks at the alternatives[Flash or going Native];they both suck!

So its extremely important that we work harder and harder to strengthen HTML5 today.

And its good to see majority of Developers[Web-based] also feel the same way.

Good report  from Kendo!

http://www.fiercedeveloper.com/story/html5-research-shows-strong-developer-support/2012-12-14

 

Regards

Ashish.

 
Damian Romano   HTML5 Security Risks   12/17/2012 1:16:46 PM
Yep...
"HTML5 is not inherently insecure, but enterprises that use it need to look at it like using a Swiss Army Knife -- the new features promise great utility, but also more ways to cut yourself."

One of the best analogies I've heard to date regarding HTML5. I took a web developement class last two semesters ago and my professor commented with a similar sentiment on this subject. But like most new code/etc you find many people jumping on board with the features with little regard for security.
Zaius   HTML5 Security Risks   12/16/2012 2:06:01 PM
Re: Native Apps
'Patching loopholes' are not getting the priorities as they should have gotten. These days, we are looking for more 'bells & whistles', and finally we find ourselves in awkward situation when these loopholes show up.
Page 1 / 2   >   >>


The blogs and comments posted on EnterpriseEfficiency.com do not reflect the views of TechWeb, EnterpriseEfficiency.com, or its sponsors. EnterpriseEfficiency.com, TechWeb, and its sponsors do not assume responsibility for any comments, claims, or opinions made by authors and bloggers. They are no substitute for your own research and should not be relied upon for trading or any other purpose.

More Blogs from Aaron Weiss
Aaron Weiss   5/23/2013   0 comments
As the Internet increasingly becomes an Internet of Things, individuals and businesses alike are deploying evermore products with built-in network access like Internet-available printers, ...
Aaron Weiss   5/21/2013   12 comments
CMOs and the CIOs enabling their activity need to ask themselves if the customer-facing mobile apps they are developing are worth the effort both from a cost perspective and a customer's ...
Aaron Weiss   5/17/2013   9 comments
In the wake of yet another major password security compromise that hit up to 50 million accounts at LivingSocial, a very appealing proposal published by two security researchers proposes ...
Aaron Weiss   4/16/2013   30 comments
Proponents of Android cite the platform's openness as a key strength. In contrast with Apple iOS, Google publishes source code for Android, and developers can produce and distribute ...
Aaron Weiss   1/1/2013   6 comments
We can expect continued maturation of cloud services in 2013, which will translate into expansion and specialization among cloud service providers.
Latest Archived Broadcast
Data visualization can make complex data easier to grasp. Our expert guest will talk about the hows, whys, and whats of bringing the big picture to your enterprise.
May 28th 2pm EDT Tuesday
On-demand Video with Chat
NBA CIO Michael Gliedman will tell us why the NBA decided to create NBA.com/stats
6/18/2013 -   Please join us for the "IT Convergence Strategies: Why, When and How " to learn more about: • 5 truths about infrastructure convergence today that go beyond the hype • How to exploit the 4 phases of convergence maximum efficiency and agility • Key milestones to plan for on the convergence journey • Why integrated management is a critical component of convergence plans • The importance of an open, modular approach, such as Dell’s active infrastructure, to building a converged data center
E2 IT Migration Zones
IT Migration Zone - UK
Application Audits Simplify Migration
Hardware Refresh Cycles Are Outdated
Office 365 Finds Fans
IT Migration Zone - FR
Windows Blue attendu en juin
Comment profiter d’une nouvelle expérience User Virtualization
S’équiper ou non d’un logiciel anti-virus ?
IT Migration Zone - DE
Leap Motion zeigt Gestensteuerung für Windows 8
Microsofts Surface Pro kommt nach Deutschland
Like Us on Facebook
Twitter Feed
Enterprise Efficiency Twitter Feed
Dell IT Insights
Dell Market Response Twitter Feed
E2 Linked-in Group Ad
Site Moderators Wanted
Enterprise Efficiency is looking for engaged readers to moderate the message boards on this site. Engage in high-IQ conversations with IT industry leaders; earn kudos and perks. Interested? E-mail:
moderators@enterpriseefficiency.com
Dell's Efficiency Modeling Tool
The major problem facing the CIO is how to measure the effectiveness of the IT department. Learn how Dell’s Efficiency Modeling Tool gives the CIO two clear, powerful numbers: Efficiency Quotient and Impact Quotient. These numbers can be transforma¬tive not only to the department, but to the entire enterprise.

Read the full report
The State of Enterprise Efficiency in the Virtual Era: Virtualization – Smart Approaches to Maximize Gains
Virtualization is a presence in nearly all enterprise data centers. But not all companies are using it to its best effect. Learn the common characteristics of success, what barriers companies face, and how to get the most from your efforts.

Read the full report
Informed CIO: Dollars & Sense: Virtual Desktop Infrastructure
Cut through the VDI hype and get the full picture -- including ROI and the impact on your Data Center -- to make an informed decision about your virtual desktop infrastructure deployments.

Read the full report
SPONSORED BY DELL
BRIEFINGS
CASE STUDIES
EBOOKS
PUBLIC SECTOR RESOURCES
VIDEOS
WHITE PAPERS
A Video Case Study – Translational Genomics Research Institute
e2 Video
On the Case
TGen IT: Where We're Going Next

7|11|12   |   08:12   |   10 comments


Now that TGen has broken new ground in genomic research by using Dell's storage, cloud, and high-performance computing solutions, the company discusses what will come next for it and for personalized medicine.
On the Case
Better Care Through Better Communications

6|6|12   |   02:24   |   12 comments


The achievements of the TGen/Dell project could improve how all people receive healthcare, because they are creating ways to improve end-to-end communication of medical data.
On the Case
TGen IT: Where We Are Now

5|15|12   |   06:58   |   5 comments


TGen is breaking new ground in genomic research by using Dell's storage, cloud, and high-performance computing solutions.
On the Case
TGen IT: Where We Were

4|27|12   |   06:45   |   10 comments


The Translational Genomics Research Institute wanted to save lives, but its efforts were hobbled by immense computing challenges related to collecting, processing, sharing, and storing enormous amounts of data.
On the Case
1,200% Faster

4|18|12   |   02:27   |   12 comments


Through their partnership, Dell and TGen have increased the speed of TGen’s medical research by 1,200 percent.
On the Case
IT May Improve Children's Chances of Survival

4|17|12   |   02:12   |   8 comments


IT is helping medical researchers reach breakthroughs in a way and pace never seen before.
On the Case
Medical Advances in the Cloud

4|10|12   |   1:25   |   5 comments


TGen and Dell are pushing the boundaries of computing, and harnessing the power of the cloud to improve healthcare.
On the Case
TGen: Living the Mission

4|9|12   |   2:25   |   3 comments


TGen's CIO puts the organizational mission at the heart of everything the IT staff does.
On the Case
TGen Speeding Up Biomedical Research to Save More Lives

4|5|12   |   1:59   |   8 comments


The Translational Genomics Research Institute is revamping its computing to improve speed, storage, and collaboration – and, most importantly, to save lives.
On the Case
Computing Power Helping to Save Children's Lives

3|28|12   |   2:13   |   3 comments


The Translational Genomics Institute’s partnership with Dell is enabling them to treat kids with neuroblastoma more quickly and save more lives.
Tom Nolle
VMWare & the Bicameral Model of MDM

5|22|13   |   2:14   |   No comments


VMware has a new solution to the MDM problem, two virtual phones inside a real phone, at least for Android phones. Currently limited to two models, the idea could expand and provide a way of letting companies harmonize their need to manage corporate use of phones while preserving BYOD.
Ivan Schneider
Clash of the Tableau 8: Release the Kraken!

5|17|13   |   2:42   |   No comments


Tableau 8 has some great data visualization and presentation capabilities, but it's best paired with a strong data analysis framework.
Tom Nolle
Using Virtualization – for Real!

5|13|13   |   2:10   |   2 comments


There's a lot of hype about virtualization of networks, NaaS, and SDN, but there's a couple of proven applications that enterprises could adopt right now and potentially save money and improve operations.
Tom Nolle
Is UC Becoming Oxymoronic or Just Moronic?

5|9|13   |   2:12   |   No comments


Skype/Outlook UC integration means we're going to have competition and fragmentation of UC client architectures, but is that bad? Modern devices can support IM, email, voice, and video clients, so maybe it's the back end of UC we need to be worried about.
E2 Editors
Windows vs. Integrated Circuit CPUs

4|17|13   |   4:45   |   5 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
Radio vs. Public Internet Access

4|17|13   |   4:34   |   14 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
Mainframes vs. Servers

4|17|13   |   4:34   |   16 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
TCP/IP vs. Printing Press

4|17|13   |   3:07   |   5 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
BYOD vs. E-Commerce

4|12|13   |   3:12   |   11 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
Telecommuting vs. Outsourcing

4|12|13   |   4:19   |   7 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
Personal Computer vs. Mobile Devices

4|12|13   |   4:28   |   20 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
E2 Editors
Smartphones vs. Productivity Software

4|12|13   |   3:09   |   13 comments


The editors make their predictions about what will win the next match-up in the E2 Tournament of IT Revolutionaries.
Tom Nolle
There's More to Mobility Than the Mobile Worker

4|9|13   |   2:03   |   5 comments


Workers are now used to portable device support throughout their everyday lives. We should be looking at the policy of providing fixed-desk devices to support stationary workers. Could portable support be smarter?
Ivan Schneider
From Kim Jong-Un's Trackball to Nuance Voice Ads

4|5|13   |   3:21   |   9 comments


Input devices run the gamut, from the humble Missile Command-style trackball to advanced speech recognition. Unfortunately, these input devices can be used for evil as well as good. Case in point: mobile ads that want you to talk to them.
Tom Nolle
Data/Storage Wish List for Enterprises

4|3|13   |   2:19   |   1 comment


Enterprises want three things in storage systems: First is some speech-recognition way of capturing videoconference data for indexing; second is semantic/AI analysis of emails and IM for content indexing; third is a better system for managing hierarchical layers of storage.