AusCERT2012: Locking down Mozilla's Web Apps

Powered by SC Magazine
 

Top tips to boost web site security.

Mozilla is pushing mobiles into the world of online Web Apps and its the job of a Sydney engineer to ensure security in the emerging landscape.

Web Apps are the multi-platform browser-based replacement for local apps. They grant more power and privilege to web sites and are built on open technologies like HTML5, CSS and JavaScript which removes the need for developers to build separate apps for different mobile devices.

Complete coverage of AusCERT 2012

The platform is not finalised but preliminary plans may require web sites to lift security profiles to become Web Apps. 

“The fundamentals of Web Apps – as opposed to web pages – is that they will need greater permissions in order provide native-like functionality, but in order to grant permissions, you need to be able to trust the web which is an inherently untrusted medium,” says Mozilla's Paul Theriault, the security project lead for the company's upcoming Boot to Gecko phone which will run entirely from Web Apps. 

“Technologies such as content security policy, strict transport security (HSTS), and BrowserID will all play a role in increasing the trust in websites in order for them to be trusted enough to be granted App-like permissions.”

Security is vital for Web Apps because they are afforded higher privileges and access to device and user data. But the Sydney-based engineer told the AusCERT conference on the Gold Coast that existing security controls and those emerging within HTML5 are not sufficient.

He says permissions are mainly granted by prompting in a “doorhanger” style notification, such as access for user location, which will likely remain,. “We need something more meaningful going forward, as users tend to eventually just agree to nagging permission dialogs.”

“Permissions are key in this world, as the only thing that separates, for example, the Dialer App from regular web page content is the permission to access the new Web Telephony API which allows web pages to make phone calls.”

Harden up

Theriault has identified a series of browser features that can substantially harden web sites today, and will likely form the basis of tomorrow's Web Apps.

As a first step, he recommends web administrators implement Mozilla's content security policy which helps mitigate cross site scripting attacks. Those attacks are possible when content received as part of a web server response is treated with equal privilege by the requesting browser.

The backwards-compatible policy tells browsers what content is legitimate and which should be disregarded. It requires script content be separated from remaining web site content and whitelisted so that malicious scripts can be blocked.

“But there are other ways attackers can achieve similar results, so don't think you can develop your web site insecurely and wrap content security policy around it,” he says.

Next on Theriault's to do list is HSTS which means users can only access web sites with valid certificates. The header value resides in the HTTP response that mandates visitors use HTTPS for a set time, preventing users from accessing sites with invalid certificates and being subject to man in the middle attacks.

By forcing HTTPS, the technology prevents attacks such as cookie-clobbering in which attackers during man in the middle attacks override cookies on the HTTP channel to then replace cookies over HTTPS.

His third recommendation which serves to boost privacy and security is Mozilla's BrowserID which serves as a decentralised identity service within the web browser.

The weakness with [rivals] OAuth and OpenID is that web sites authenticating with them must make calls back to identity providers like Google,” Theriault says. “That means Google can track your movement around the web every time you log in sites that use them, and that's not great from a privacy perspective.”

BrowserID grants the benefits of a federated identity system without the privacy implications by using PKI to generate assertions without the need to ping identity providers.

Like its rival systems, web sites would need to determine the identity providers they wish to trust.

Copyright © SC Magazine, Australia


AusCERT2012: Locking down Mozilla's Web Apps
 
 
 
Top Stories
Hockey flags billion-dollar Centrelink mainframe replacement
Claims 30 year-old tech is holding Govt back.
 
Ombudsman wants to monitor warrantless metadata access
Requests ability to report publicly.
 
Frugality as a service: the Amazon story
Behind the scenes, Amazon Web Services is one lean machine.
 
 
Sign up to receive iTnews email bulletins
   FOLLOW US...

Latest VideosSee all videos »

The great data centre opportunity on Australia's doorstep
The great data centre opportunity on Australia's doorstep
Scott Noteboom, CEO of LitBit speaking at The Australian Data Centre Strategy Summit 2014 in the Gold Coast, Queensland, Australia. http://bit.ly/1qpxVfV Scott Noteboom is a data centre engineer who led builds for Apple and Yahoo in the earliest days of the cloud, and who now eyes Asia as the next big opportunity. Read more: http://www.itnews.com.au/News/372482,how-do-we-serve-three-billion-new-internet-users.aspx#ixzz2yNLmMG5C
Interview: Karl Maftoum, CIO, ACMA
Interview: Karl Maftoum, CIO, ACMA
To COTS or not to COTS? iTnews asks Karl Maftoum, CIO of the ACMA, at the CIO Strategy Summit.
Susan Sly: What is the Role of the CIO?
Susan Sly: What is the Role of the CIO?
AEMO chief information officer Susan Sly calls for more collaboration among Australia's technology leaders at the CIO Strategy Summit.
Meet the 2014 Finance CIO of the Year
Meet the 2014 Finance CIO of the Year
Credit Union Australia's David Gee awarded Finance CIO of the Year at the iTnews Benchmark Awards.
Meet the 2014 Retail CIO of the Year
Meet the 2014 Retail CIO of the Year
Damon Rees named Retail CIO of the Year at the iTnews Benchmark Awards for his work at Woolworths.
Robyn Elliott named the 2014 Utilities CIO of the Year
Robyn Elliott named the 2014 Utilities CIO of the Year
Acting Foxtel CIO David Marks accepts an iTnews Benchmark Award on behalf of Robyn Elliott.
Meet the 2014 Industrial CIO of the Year
Meet the 2014 Industrial CIO of the Year
Sanjay Mehta named Industrial CIO of the Year at the iTnews Benchmark Awards for his work at ConocoPhillips.
Meet the 2014 Healthcare CIO of the Year
Meet the 2014 Healthcare CIO of the Year
Greg Wells named Healthcare CIO of the Year at the iTnews Benchmark Awards for his work at NSW Health.
Meet the 2014 Education CIO of the Year
Meet the 2014 Education CIO of the Year
William Confalonieri named Healthcare CIO of the Year at the iTnews Benchmark Awards for his work at Deakin University.
Meet the 2014 Government CIO of the Year
Meet the 2014 Government CIO of the Year
David Johnson named Government CIO of the Year at the iTnews Benchmark Awards for his work at the Queensland Police Service.
Q and A: Coalition Broadband Policy
Q and A: Coalition Broadband Policy
Malcolm Turnbull and Tony Abbott discuss the Coalition's broadband policy with the press.
AFP scalps hacker 'leader' inside Australia's IT ranks.
AFP scalps hacker 'leader' inside Australia's IT ranks.
The Australian Federal Police have arrested a Sydney-based IT security professional for hacking a government website.
NBN Petition Delivered To Turnbull's Office
NBN Petition Delivered To Turnbull's Office
UTS CIO: IT teams of the future
UTS CIO: IT teams of the future
UTS CIO Chrissy Burns talks data.
New UTS Building: the IT within
New UTS Building: the IT within
The IT behind tomorrow's universities.
iTnews' NBN Panel
iTnews' NBN Panel
Is your enterprise NBN-ready?
Introducing iTnews Labs
Introducing iTnews Labs
See a timelapse of the iTnews labs being unboxed, set up and switched on! iTnews will produce independent testing of the latest enterprise software to hit the market after installing a purpose-built test lab in Sydney. Watch the installation of two DL380p servers, two HP StoreVirtual 4330 storage arrays and two HP ProCurve 2920 switches.
The True Cost of BYOD
The True Cost of BYOD
iTnews' Brett Winterford gives attendees of the first 'Touch Tomorrow' event in Brisbane a brief look at his research into enterprise mobility. What are the use cases and how can they be quantified? What price should you expect to pay for securing mobile access to corporate applications? What's coming around the corner?
Ghost clouds
Ghost clouds
ACMA chair Chris Chapman says there is uncertainty over whether certain classes of cloud service providers are caught by regulations.
Was the Snowden leak inevitable?
Was the Snowden leak inevitable?
Privacy experts David Vaile (UNSW Cyberspace Law and Policy Centre) and Craig Scroggie (CEO, NextDC) claim they were not surprised by the Snowden leaks about the NSA's PRISM program.
Latest Comments
Polls
Which bank is most likely to suffer an RBS-style meltdown?





   |   View results
ANZ
  20%
 
Bankwest
  9%
 
CommBank
  12%
 
National Australia Bank
  17%
 
Suncorp
  23%
 
Westpac
  19%
TOTAL VOTES: 1516

Vote