Mining input sanitization patterns for predicting SQL injection and cross site scripting vulnerabilities
Lwin Khin Shar, Hee Beng Kuan Tan · Proceedings/Proceedings - International Conference on Software Engineering · 2012
Static code attributes such as lines of code and cyclomatic complexity have been shown to be useful indicators of defects in software modules. As web applications adopt input sanitization routines to prevent web security risks, static code attributes that represent the characteristics of these routines may be useful for predicting web application vulnerabilities. In this paper, we classify various input sanitization methods into different types and propose a set of static code attributes that represent these types. Then we use data mining methods to predict SQL injection and cross site scripting vulnerabilities in web applications. Preliminary experiments show that our proposed attributes are important indicators of such vulnerabilities.
Cited by 58 works. doi:10.1109/icse.2012.6227096
Authors
References
- A Complexity Measure
- Pixy: a static analysis tool for detecting Web application vulnerabilities
- Data Mining Static Code Attributes to Learn Defect Predictors
- Benchmarking Classification Models for Software Defect Prediction: A Proposed Framework and Novel Findings
- Static detection of security vulnerabilities in scripting languages
- Methodology for validating software metrics
- Static detection of cross-site scripting vulnerabilities
- Automatic creation of SQL Injection and cross-site scripting attacks
- Predicting defects using network analysis on dependency graphs
- Defect prediction from static code features: current results, limitations, new approaches