کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
460241 696320 2016 13 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Multiple-path testing for cross site scripting using genetic algorithms
ترجمه فارسی عنوان
تست مسیر چندگانه برای اسکریپت متقابل سایت با استفاده از الگوریتم های ژنتیک
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر شبکه های کامپیوتری و ارتباطات
چکیده انگلیسی


• Use path coverage as a test coverage criteria.
• Formalize the problem of test data generation as a search problem.
• Focus on cross site scripting, in short XSS, type of vulnerability.
• Propose an approach that uses genetic algorithms (GA) along with a database of XSS vulnerability patterns to generate multiple-path coverage for a script under test (SUT) against XSS vulnerability.
• Design genetic algorithms to allow the generation of multiple test data, in one run, to cover multiple vulnerable paths.

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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Systems Architecture - Volume 64, March 2016, Pages 50–62
نویسندگان
, ,