• DocumentCode
    2350752
  • Title

    Verified Security for Browser Extensions

  • Author

    Guha, Arjun ; Fredrikson, Matthew ; Livshits, Benjamin ; Swamy, Nikhil

  • Author_Institution
    Brown Univ., Providence, RI, USA
  • fYear
    2011
  • fDate
    22-25 May 2011
  • Firstpage
    115
  • Lastpage
    130
  • Abstract
    Popup blocking, form filling, and many other features of modern web browsers were first introduced as third-party extensions. New extensions continue to enrich browsers in unanticipated ways. However, powerful extensions require capabilities, such as cross-domain network access and local storage, which, if used improperly, pose a security risk. Several browsers try to limit extension capabilities, but an empirical survey we conducted shows that many extensions are over-privileged under existing mechanisms. This paper presents ibex, a new framework for authoring, analyzing, verifying, and deploying secure browser extensions. Our approach is based on using type-safe, high-level languages to program extensions against an API providing access to a variety of browser features. We propose using Data log to specify fine-grained access control and dataflow policies to limit the ways in which an extension can use this API, thus restricting its privilege over security-sensitive web content and browser resources. We formalize the semantics of policies in terms of a safety property on the execution of extensions and develop a verification methodology that allows us to statically check extensions for policy compliance. Additionally, we provide visualization tools to assist with policy analysis, and compilers to translate extension source code to either. NET byte code or JavaScript, facilitating cross-browser deployment of extensions. We evaluate our work by implementing and verifying~NumExt extensions with a diverse set of features and security policies. We deploy our extensions in Internet Explorer, Chrome, Fire fox, and a new experimental HTML5 platform called C3. In so doing, we demonstrate the versatility and effectiveness of our approach.
  • Keywords
    application program interfaces; data visualisation; online front-ends; program compilers; security of data; API; access control; browser extensions; compilers; data log; high-level languages; policy analysis; program extensions; security-sensitive Web content; verified security; visualization tools; Browsers; Fires; History; Internet; Security; Web pages; extensions; policy languages; security; type system; verification; web browsers;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Security and Privacy (SP), 2011 IEEE Symposium on
  • Conference_Location
    Berkeley, CA
  • ISSN
    1081-6011
  • Print_ISBN
    978-1-4577-0147-4
  • Electronic_ISBN
    1081-6011
  • Type

    conf

  • DOI
    10.1109/SP.2011.36
  • Filename
    5958025