Enhancing Web Application Security Through Automated SQL Injection Detection Using Neural Networks

Enhancing Web Application Security Through Automated SQL Injection Detection Using Neural Networks

Authors

  • Amina I. ABUBAKAR Department of Computer Science, University of Abuja, Abuja, Nigeria
  • Hashim I. BISALLAH Department of Computer Science, University of Abuja, Abuja, Nigeria
  • Khadijat M. KABIR Department of Computer Science, University of Abuja, Abuja, Nigeria

Keywords:

SQL Injection, Web Application Security, Neural Networks, Machine Learning, Deep Learning, E-commerce Security

Abstract

SQL injection (SQLi) attacks are one of the major threats to web application security, especially on e-commerce platforms. These attacks exploits the weaknesses in user input which enables attackers to have access and manipulate database queries to compromise data integrity. This study aims to develop an automated SQL injection detection system using Neural Networks to improve on the security of web applications. A labeled dataset of SQL injection patterns was created to train three machine learning models namely: Naive Bayes, Random Forest, and Deep Neural Network. The models evaluation was done using accuracy, precision, specificity, and F1 score. The results shows that the Neural Network model outperformed the two others by achieving an accuracy of 99.1%, a precision of 94.2%, a specificity of 98.1%, and a F1 score of 0.961. These results shows that Neural Networks is efficient in detecting SQL injection attacks. Finally, this study provides a comparative insights to earlier research by exploring different potential deployment scenarios, and identifies avenues for future work.

Published

28-09-2025

How to Cite

Amina I. ABUBAKAR, Hashim I. BISALLAH, & Khadijat M. KABIR. (2025). Enhancing Web Application Security Through Automated SQL Injection Detection Using Neural Networks. UNIABUJA Journal of Engineering and Technology (UJET), 2(2), 368–376. Retrieved from https://ujet.uniabuja.edu.ng/index.php/ujet/article/view/106

Issue

Section

Articles

Similar Articles

1 2 3 4 > >> 

You may also start an advanced similarity search for this article.

Loading...