Practical information flow for legacy web applications

  • Authors:
  • Georgios Chinis;Polyvios Pratikakis;Sotiris Ioannidis;Elias Athanasopoulos

  • Affiliations:
  • Foundation of Research and Technology---Hellas;Foundation of Research and Technology---Hellas;Foundation of Research and Technology---Hellas;Columbia University, NY

  • Venue:
  • Proceedings of the 8th Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

The popularity of web applications, coupled with the data they operate on, makes them prime targets for hackers that want to misuse them. To make matters worse, a lot of these applications, have not been implemented with security in mind, while refactoring an existing, large web application to implement a security or privacy policy is prohibitively difficult. This paper presents LabelFlow, an extension of PHP that simplifies implementation of security policies in web applications. To enforce a policy, LabelFlow tracks the propagation of information throughout the application, transparently and efficiently, both in the PHP runtime and through persistent storage. We provide strong theoretical guarantees for the policy enforcement in LabelFlow; we define its semantics for a simple calculus and prove that it protects against information leaks. We used LabelFlow to add and enforce access control policies in three popular real-world large scale web applications: MediaWiki, Wordpress and OpenCart. LabelFlow requires minimal code changes of 50--100 lines of code per application, while incurring little execution overhead of up to 5.6% at worst.