Systematic Generation of XSS and SQLi Vulnerabilities in PHP as Test Cases for Static Code Analysis
- Synthetic static code analysis test suites are important to test the basic functionality of tools. We present a framework that uses different source code patterns to generate Cross Site Scripting and SQL injection test cases. A decision tree is used to determine if the test cases are vulnerable. The test cases are split into two test suites. The first test suite contains 258,432 test cases that have influence on the decision trees. The second test suite contains 20 vulnerable test cases with different data flow patterns. The test cases are scanned with two commercial static code analysis tools to show that they can be used to benchmark and identify problems of static code analysis tools. Expert interviews confirm that the decision tree is a solid way to determine the vulnerable test cases and that the test suites are relevant.
Author: | Felix SchuckertORCiD, Hanno LangwegORCiDGND, Basel KattORCiD |
---|---|
DOI: | https://doi.org/10.1109/ICSTW55395.2022.00053 |
ISBN: | 978-1-6654-9628-5 |
ISBN: | 978-1-6654-9629-2 |
Parent Title (English): | 15th IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW 2022), 04-13 April 2022, Valencia, Spain |
Publisher: | IEEE |
Document Type: | Conference Proceeding |
Language: | English |
Year of Publication: | 2022 |
Release Date: | 2022/11/22 |
Tag: | Cross Site Scripting; SQL Injection; Static Code Analysis; PHP; Test Suite |
First Page: | 261 |
Last Page: | 268 |
Note: | Volltextzugriff für Angehörige der Hochschule Konstanz via Datenbank IEEE Xplore möglich |
Institutes: | Fakultät Informatik |
Relevance: | Peer reviewed nach anderen Listungen (mit Nachweis zum Peer Review Verfahren) |
Open Access?: | Nein |
Licence (German): | Urheberrechtlich geschützt |