Download PDF

IEEE transactions on software engineering

Publication date: 2008-01-01
Volume: 34 Pages: 50 - 64
ISSN: 0098-5589
Publisher: Institute of Electrical and Electronics Engineers

Author:

Desmet, Lieven
Verbaeten, Pierre ; Joosen, Wouter ; Piessens, Frank

Keywords:

software/program verification, security, reliability, data sharing, web-based services, web technologies, Science & Technology, Technology, Computer Science, Software Engineering, Engineering, Electrical & Electronic, Computer Science, Engineering, Web-based services, Web technologies, 0803 Computer Software, 0806 Information Systems, 0906 Electrical and Electronic Engineering, Software Engineering, 4606 Distributed computing and systems software, 4612 Software engineering

Abstract:

Web applications are widely adopted and their correct functioning is mission critical for many businesses. At the same time, Web applications tend to be error prone and implementation vulnerabilities are readily and commonly exploited by attackers. The design of countermeasures that detect or prevent such vulnerabilities or protect against their exploitation is an important research challenge for the fields of software engineering and security engineering. In this paper, we focus on one specific type of implementation vulnerability, namely, broken dependencies on session data. This vulnerability can lead to a variety of erroneous behavior at runtime and can easily be triggered by a malicious user by applying attack techniques such as forceful browsing. This paper shows how to guarantee the absence of runtime errors due to broken dependencies on session data in Web applications. The proposed solution combines development-time program annotation, static verification, and runtime checking to provably protect against broken data dependencies. We have developed a prototype implementation of our approach, building on the JML annotation language and the existing static verification tool ESC/Java2, and we successfully applied our approach to a representative J2EE-based e-commerce application. We show that the annotation overhead is very small, that the performance of the fully automatic static verification is acceptable, and that the performance overhead of the runtime checking is limited.