Title :
Grammar Based Testing of HTML Injection Vulnerabilities in RSS Feeds
Author :
Hoffman, Daniel ; Wang, Hong-Yi ; Chang, Mitch ; Ly-Gagnon, David
Author_Institution :
Dept. of Comput. Sci., Univ. of Victoria, Victoria, BC, Canada
Abstract :
Grammar based test generation (GBTG) has seen extensive study and considerable practical use since the 1970s. GBTG was introduced to generate source code for testing compilers from context-free grammars specifying language syntax. More recently, GBTG has been applied to many other testing problems, including the generation of eXtensible Markup Language (XML) documents. Recent research has shown how to integrate covering-array generation into GBTG tools. While the integration offers considerable power to the tester, there are few practical demonstrations in the literature. We present a case study showing how to use grammars and covering arrays for effective input generation. The generated tests have been used to systematically evaluate an RSS feed parser for HTML injection vulnerabilities.
Keywords :
XML; context-free grammars; program compilers; program testing; HTML injection vulnerabilities; RSS feeds; XML documents; compiler testing; context-free grammars; covering-array generation; eXtensible Markup Language; grammar based test generation; source code generation; Computer industry; Computer science; Fault trees; Feeds; HTML; Operating systems; Probes; Protocols; System testing; XML;
Conference_Titel :
Testing: Academic and Industrial Conference - Practice and Research Techniques, 2009. TAIC PART '09.
Conference_Location :
Windsor
Print_ISBN :
978-0-7695-3820-4
DOI :
10.1109/TAICPART.2009.34