On TV.com: LOST Season 6. Premiere Date. Announced.
BNET Business Network:
BNET
TechRepublic
ZDNet

June 22nd, 2009

Mozilla tackles XSS vulnerabilities with new technology

Posted by Ryan Naraine @ 1:39 pm

Categories: Adobe, Anti Virus, Arbitrary Code Execution, Browsers, Data theft, Exploit code, Firefox, Flash, Hackers, Locally Running Web Servers, Mozilla, Open source, Pen testing, Phishing, Responsible disclosure, Vulnerability research, Web 2.0

Tags: Vulnerability, XSS, Web Browser, Mozilla Corp., Web Browsers, Internet, Ryan Naraine

Mozilla’s security engineers are working on new technology that promises to mitigate a large class of Web application vulnerabilities, especially the cross-site scripting (XSS) plague against modern Web browsers.

The project, called Content Security Policy, is designed to shut down XSS attacks by providing a mechanism for sites to explicitly tell the browser which content is legitimate. It can also help mitigate clickjacking and packet sniffing attacks.

[ SEE: Webcam hijack demo highlights clickjacking threat ]

Here’s how Content Security Policy can provide a way for server administrators to reduce or eliminate their XSS attack surface.

  1. Website administrators specify which domains the browser should treat as valid sources of script.
  2. The browser will only execute script in source files from the white-listed domains and will disregard everything else, including inline scripts and event-handling HTML attributes.
    • Note: event-handling is still enabled in CSP without using HTML attributes.
  3. Sites that never want to have JavaScript included in their pages can choose to globally disallow script.

To combat clickjacking, which allows cicks on one Web page to actually apply to clicks on another page that’s invisible to the end user, Mozilla said Content Security Policy allows a site to specify which sites may embed a resource.

The open-source group said Content Security Policy will be fully backward compatible and will not affect sites or browsers which don’t support it.

For more information, see Mozilla’s FAQ and this blog post by security program manager Brandon Sterne.

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

  • Talkback
  • Most Recent of 10 Talkback(s)
already available in IE8 ?
They are, sort of. IF you have to time to wait around for that slug of spaghetti to do anything. I got tired of fiddling with it and went back to 7 until a couple more updates come 'round for it. ... (Read the rest)
Posted by: twaynesdomain Posted on: 06/24/09 You are currently: a Guest | | Terms of Use
sounds kinda like SPF, but for JavaScript  JoeMama_z | 06/22/09
It's JavaScript not Java Script  InAction Man | 06/22/09
Thanks for answering my question!  JoeMama_z | 06/22/09
What came first, the chicken or the egg?  Spiritusindomit@... | 06/22/09
Really....  Erroneous | 06/23/09
Why would it? nt  T1Oracle | 06/22/09
Why wouldn't it?  JoeMama_z | 06/22/09
Too bad it relies on website owner action  ejhonda | 06/23/09
All these protections are already available in IE8  directory | 06/24/09
already available in IE8 ?  twaynesdomain | 06/24/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here