Back to Search Start Over

Multiple-path testing for cross site scripting using genetic algorithms.

Authors :
Ahmed, Moataz A.
Ali, Fakhreldin
Source :
Journal of Systems Architecture. Mar2016, Vol. 64, p50-62. 13p.
Publication Year :
2016

Abstract

Web applications suffer from different security vulnerabilities that could be exploited by hackers to cause harm in a variety of ways. A number of approaches have been proposed to test for such vulnerabilities. However, some gaps are still to be addressed. In this paper, we address one of such gaps: the problem of automatically generating test data (i.e., possible attacks) to test for cross site scripting (XSS) type of vulnerability. The objective is to generate a set of test data to exercise candidate security-vulnerable paths in a given script. The desirable set of test data must be effective in the sense that it uncovers whether any path can indeed be exploited to launch an attack. We designed a genetic algorithm-based test data generator that uses a database of XSS attack patterns to generate possible attacks and assess whether the attack is successful. We considered different types of XSS vulnerability: stored, reflected and DOM based. We empirically validated our test data generator using case studies of Web applications developed using PHP and MySQL. Empirical results show that our test data generator is effective in generating, in one run, multiple test data to cover multiple target paths. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
13837621
Volume :
64
Database :
Academic Search Index
Journal :
Journal of Systems Architecture
Publication Type :
Academic Journal
Accession number :
115024214
Full Text :
https://doi.org/10.1016/j.sysarc.2015.11.001