Comparative Detection of SQL Injection Attacks Using Machine Learning and a Convolutional Neural Network

This preprint presents a comparative study of machine learning and deep learning methods for detecting SQL injection attacks through binary classification of SQL-query text. It compares logistic regression, random forest, support vector machine, Naive Bayes, decision tree, and a one-dimensional convolutional neural network using accuracy, precision, recall, and F1 score. The manuscript is derived from the author’s undergraduate thesis completed at Chittagong University of Engineering and Technology (CUET) in 2023, under the supervision of Professor Dr. Jamal Uddin Ahamed. This version summarizes the results reported in the thesis and explicitly documents limitations, including missing dataset provenance and experimental settings, inconsistent CNN descriptions, and discrepancies between result tables. These details require verification against the original implementation. This manuscript has not undergone peer review.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-10
DOI
https://doi.org/10.5281/zenodo.24098317
Primary Topic
Web Application Security Vulnerabilities
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Comparative Detection of SQL Injection Attacks Using Machine Learning and a Convolutional Neural Network

Md. Mahbubul Hoque Shourov
Zenodo (CERN European Organization for Nuclear Research)
Web Application Security Vulnerabilities
preprint

Comparative Detection of SQL Injection Attacks Using Machine Learning and a Convolutional Neural Network

Md. Mahbubul Hoque Shourov
preprint en

Abstract

This preprint presents a comparative study of machine learning and deep learning methods for detecting SQL injection attacks through binary classification of SQL-query text. It compares logistic regression, random forest, support vector machine, Naive Bayes, decision tree, and a one-dimensional convolutional neural network using accuracy, precision, recall, and F1 score. The manuscript is derived from the author’s undergraduate thesis completed at Chittagong University of Engineering and Technology (CUET) in 2023, under the supervision of Professor Dr. Jamal Uddin Ahamed. This version summarizes the results reported in the thesis and explicitly documents limitations, including missing dataset provenance and experimental settings, inconsistent CNN descriptions, and discrepancies between result tables. These details require verification against the original implementation. This manuscript has not undergone peer review.

Zenodo (CERN European Organization for Nuclear Research)
Chittagong University of Engineering & Technology (BD)
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon