Predicting common web application vulnerabilities from input validation and sanitization code patterns
Shar, Lwin Khin
Tan, Hee Beng Kuan
Date of Issue2012
International Conference on Automated Software Engineering (27th : 2012 : Essen, Germany)
School of Electrical and Electronic Engineering
Software defect prediction studies have shown that defect predictors built from static code attributes are useful and effective. On the other hand, to mitigate the threats posed by common web application vulnerabilities, many vulnerability detection approaches have been proposed. However, finding alternative solutions to address these risks remains an important research problem. As web applications generally adopt input validation and sanitization routines to prevent web security risks, in this paper, we propose a set of static code attributes that represent the characteristics of these routines for predicting the two most common web application vulnerabilities—SQL injection and cross site scripting. In our experiments, vulnerability predictors built from the proposed attributes detected more than 80% of the vulnerabilities in the test subjects at low false alarm rates.
DRNTU::Engineering::Electrical and electronic engineering
© 2012 ACM.