Newsletters Select newsletters below and click the button to sign up!
Internetnews BloggersRecent Entries
ArchivesMonthly ArchivesSearch The Blog
« Palm Pre WebOS powered by Linux 2.6.24 |
Sean Michael Kerner Blog
| Report: Ruby use on the rise »
Mozilla Content Security Policy takes aim at XSS From the 'making browsers safe' files: There is also a plan to help mitigate clickjacking as part of CSP policy that will enable a site to specify which sites can embed a resource.Cross Site Scripting (XSS) flaws are growing and Mozilla is now coming up with another attempt to try and stop them. It's a new approach called Content Security Policy and its goal is to prevent XSS. Firefox 3.x has been patched before for XSS and Firefox 3 itself was originally supposed to provide protection against XSS as well with a W3C specification called Cross site XMLHttpRequest (that didn't make it into the final Firefox 3). So now they're trying again, with a new approach that will help to validate that code running in a browser is authorized. "In order to differentiate legitimate content from injected or modified content, CSP requires that all JavaScript for a page be 1) loaded from an external file, and 2) served from an explicitly approved host. This means that all inline script, javascript: URIs, and event-handling HTML attributes will be ignored,"Brandon Sterne Security Program Manager at Mozilla blogged. " Only script included via a script tag pointing to a white-listed host will be treated as valid." Frankly -- I think that (for better or for worse), Mozilla should follow Micrsoft's lead and also support the X-FRAME-OPTIONS header, that IE 8 supports. While I think it's important for Mozilla to carve its own path, I don't think there is any harm in supporting multiple, complementary methods for protecting against clickjacking. Then again, web developers that choose to protect their sites with X-FRAME-OPTIONS could just add in CSP too. Ultimately in a non-standardized web security world, it could mean that web developers will have to support multiple approaches to the same problem. It's not an ideal solution, but hey web developers have faced this problem forever, so it's not a new issue either. No word yet on when CSP will be integrated into Firefox -- though I'd expect it'll be on the wish list for the Firefox 3.6 timeframe. 0 TrackBacksListed below are links to blogs that reference this entry: Mozilla Content Security Policy takes aim at XSS. TrackBack URL for this entry: https://swarm.jupitermedia.com/mt-tb.cgi/8320 |
||
Leave a comment