Title :
Looking at Web Security Vulnerabilities from the Programming Language Perspective: A Field Study
Author :
Seixas, Nuno ; Fonseca, José ; Vieira, Marco ; Madeira, Henrique
Author_Institution :
Dept. of Inf. Eng., Univ. of Coimbra, Coimbra, Portugal
Abstract :
This paper presents a field study on Web security vulnerabilities from the programming language type system perspective. Security patches reported for a set of 11 widely used Web applications written in strongly typed languages (Java, C#, VB.NET) were analyzed in order to understand the fault types that are responsible for the vulnerabilities observed (SQL injection and XSS). The results are analyzed and compared with a similar work on Web applications written using a weakly typed language (PHP). This comparison points out that some of the types of defects that lead to vulnerabilities are programming language independent, while others are strongly related to the language used. Strongly typed languages do reduce the frequency of vulnerabilities, as expected, but there still is a considerable number of vulnerabilities observed in the field. The characterization of those vulnerabilities shows that they are caused by a small number of fault types. This result is relevant to train programmers and code inspectors in the manual detection of such faults, and to improve static code analyzers to automatically detect the most frequent vulnerable program structures found in the field.
Keywords :
C++ language; Internet; Java; SQL; data flow analysis; safety-critical software; security of data; visual languages; C#; Java; PHP; SQL injection; VB.NET; Web applications; Web security vulnerabilities; XSS; programming language type system; static code analyzers; Application software; Computer bugs; Computer hacking; Computer languages; Fault detection; Java; Reliability engineering; Security; Software reliability; Testing; Security vulnerabilities; field study; programming languages; software faults;
Conference_Titel :
Software Reliability Engineering, 2009. ISSRE '09. 20th International Symposium on
Conference_Location :
Mysuru, Karnataka
Print_ISBN :
978-1-4244-5375-7
Electronic_ISBN :
1071-9458
DOI :
10.1109/ISSRE.2009.30