Work

Preventing SQL Injection Attacks by Automatic Parameterizing Raw Queries Using Lexical and Semantic Analysis Methods

Year: 2019
Type: article
Abstract: SQL injection (SQLI) is one of the most important security threats against web applications. Many tech-niques have been proposed for counteracting SQLI attacks; however, second-order attacks and the injectionattacks that are raising data-type mismatch errors have been ignored in most of them. In this paper, wepropose a new anomaly-based method (deploying as a proxy between the application server and its databaseserver) for detection and/or prevention of SQLI attacks without requiring any modi cation to the sourcecode of vulnerable applications. The majority of attacks, which lead to a change in the syntax of applica-tion queries, are identi ed in the detection phase by lexical analysis of the queries. The remained types ofattacks, such as second-order attacks and attacks generating data type mismatch errors, are prevented tobe executed in the prevention phase, where each query is automatically converted to a parameterized query(before submitting to its database) using a semantic analysis method.
Language: English
Open Access status: diamond
OpenAlex ID: W2924962741
FWCI: 0.192
Cites: 20
Cited by: 4
Related to: 10