Language-Based Isolation of Untrusted JavaScript

  • Authors:
  • Sergio Maffeis;Ankur Taly

  • Affiliations:
  • -;-

  • Venue:
  • CSF '09 Proceedings of the 2009 22nd IEEE Computer Security Foundations Symposium
  • Year:
  • 2009

Quantified Score

Hi-index 0.03

Visualization

Abstract

Web sites that incorporate untrusted content may use browser- or language-based methods to keep such content from maliciously altering pages, stealing sensitive information, or causing other harm. We study language-based methods for filtering and rewriting JavaScript code, using Yahoo! ADSafe and Facebook FBJS as motivating examples. We explain the core problems by describing previously unknown vulnerabilities and subtleties, and develop a foundation for improved solutions based on an operational semantics of the full ECMA-262 language. We also discuss how to apply our analysis to address the JavaScript isolation problems we discovered.