Diffcult SQLi Code Patterns for Static Code Analysis Tools
Abstract
We compared vulnerable and fixed versions of the source code of 50 different PHP open source projects based on CVE reports for SQL injection vulnerabilities. We scanned the source code with commercial and open source tools for static code analysis. Our results show that five current state-of-the-art tools have issues correctly marking vulnerable and safe code. We identify 25 code patterns that are not detected as a vulnerability by at least one of the tools and 6 code patterns that are mistakenly reported as a vulnerability that cannot be confirmed by manual code inspection. Knowledge of the patterns could help vendors of static code analysis tools, and software developers could be instructed to avoid patterns that confuse automated tools.
Downloads
Download data is not yet available.
Downloads
Published
2021-03-12
How to Cite
[1]
F. Schuckert, B. Katt, and H. Langweg, “Diffcult SQLi Code Patterns for Static Code Analysis Tools”, NIKT, no. 3, Mar. 2021.
Issue
Section
Articles