Automated code injection prevention for web applications

  • Authors:
  • Zhengqin Luo;Tamara Rezk;Manuel Serrano

  • Affiliations:
  • INRIA Sophia Antipolis, France;INRIA Sophia Antipolis, France;INRIA Sophia Antipolis, France

  • Venue:
  • TOSCA'11 Proceedings of the 2011 international conference on Theory of Security and Applications
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a new technique based on multitier compilation for preventing code injection in web applications. It consists in adding an extra stage to the client code generator which compares the dynamically generated code with the specification obtained from the syntax of the source program. No intervention from the programmer is needed. No plugin or modification of the web browser is required. The soundness and validity of the approach are proved formally by showing that the client compiler can be fully abstract. The practical interest of the approach is proved by showing the actual implementation in the Hop environment.