Encoding Query Based Lightweight Algorithm for Preventing SQL injection attack.

SQL injection attacks are still common issue in web applications. Although different techniques have been proposed to prevent SQL injection attack, it has a high impact on web applications, especially associated with large and sensitive databases. In this attack, an attacker can inject malicious cod...

Descripción completa

Detalles Bibliográficos
Publicado en:Journal of Basrah Researches (Sciences) Vol. 46; no. 1; pp. 1 - 12
Autores principales: Shwaish, Alaa Khudhair, Hussain, Mohammed Abdulridha, Al-Kashoash, Hayder A. A.
Formato: Artículo
Publicado: Republic of Iraq Ministry of Higher Education & Scientific Research (MOHESR) 2020
Materias:
Acceso en línea:Ver este registro en EBSCOhost
Descripción
Sumario:SQL injection attacks are still common issue in web applications. Although different techniques have been proposed to prevent SQL injection attack, it has a high impact on web applications, especially associated with large and sensitive databases. In this attack, an attacker can inject malicious code into the data entry field of the input form and bypass authentication, access, then modification and deletion of data within the database. In this paper, a lightweight algorithm is introduced based on encoding of the query named (EQA) considering HTTP traffic parameters e.g. request and response time and message length. EQA hides the SQL relationship with the database, and prevents some common types of SQL injection (Tautology, Piggybacked and Comment). EQA is implemented and tested using MySQL and PHP environment and Wireshark platform. The results demonstrate that the proposal has a good performance in terms of security level, reducing HTTP request and response time and message length.