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 modication to the sourcecode of vulnerable applications. The majority of attacks, which lead to a change in the syntax of applica-tion queries, are identied 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.
Source: Scientia Iranica
Authors: Somayeh Dolatnezhad, Morteza Amini
Institution: Sharif University of Technology
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W2924962741
