Source Code Patterns of Cross Site Scripting in PHP Open Source Projects

  • To get a better understanding of Cross Site Scripting vulnerabilities, we investigated 50 randomly selected CVE reports which are related to open source projects. The vulnerable and patched source code was manually reviewed to find out what kind of source code patterns were used. Source code pattern categories were found for sources, concatenations, sinks, html context and fixes. Our resulting categories are compared to categories from CWE. A source code sample which might have led developers to believe that the data was already sanitized is described in detail. For the different html context categories, the necessary Cross Site Scripting prevention mechanisms are described.

Export metadata

Additional Services

Share in Twitter Search Google Scholar
Metadaten
Author:Felix Schuckert, Max Hildner, Basel Katt, Hanno LangwegGND
URL:http://ojs.bibsys.no/index.php/NISK/article/view/576/492
ISSN:1893-6563
ISSN:1894-7735
Parent Title (English):Proceedings of the 11th Norwegian Information Security Conference (NISK 2018), Sep. 19-20, 2018, Longyearbyen, Svalbard, Norway (NISK Journal ; Vol. 11)
Document Type:Conference Proceeding
Language:English
Year of Publication:2018
Release Date:2019/01/14
Pagenumber:13
Institutes:Fakultät Informatik
Open Access?:Ja
Relevance:Keine peer reviewed Publikation (Wissenschaftlicher Artikel und Aufsatz, Proceeding, Artikel in Tagungsband)