Skip to content
Open access

Detection and Mitigation of SQL Injection-based Attacks in Web Security

Jul 2026 · Journal of Mobile Multimedia · 0 citations

TL;DR

The proposed machine learning-based system for detecting and mitigating SQL injection attacks is designed not just to protect against conventional SQLi attacks but also against JSON-based SQLi attacks, NoSQL injection attacks, hybrid attacks, and conventional WAF evasion techniques.

Abstract

Crafty tactics like nested request bodies, encoding schemes, and JavaScript Object Notation (JSON) operators are now used by attackers to trick and bypass conventional Web application firewalls. The proposed machine learning-based system for detecting and mitigating SQL injection attacks is designed not just to protect against conventional SQLi attacks but also against JSON-based SQLi attacks, NoSQL injection attacks, hybrid attacks, and conventional WAF evasion techniques. The proposed system utilizes a stacking ensemble of Random Forest, Gradient Boosting, and Logistic Regression classifiers with manually constructed features that represent various properties of queries instead of using conventional static rule-based techniques or deep learning models. The detector is integrated into an application process that facilitates query inspection, batch analysis, decision explanation, and mitigation actions. The application is made available via a Flask-based REST API. To add structural variety, the dataset is constructed from public payload sources and augmented methodically. To support detections and to provide potential WAF rules, feature-level explanations are employed. The proposed work is also extended to incorporate a privacy-preserving federative learning framework to show its efficacy in collaborative environments. The system’s overall goal is to provide a modern, API-driven application as a complementary injection attack detection and monitoring layer suitable for quick, easy deployment.

Read PDF

Similar papers

Open access Jul 2026

Predictive Web Application Security Using Intelligent SQL Injection Detection

This work presents an intelligent approach for improving web application security through the prediction and detection of SQL injection attacks using machine learning techniques, enabling faster, more reliable, and automated detection of SQL injection vulnerabilities.

D. A. Reddy, G.Rajini · 0 citations
Review Aug 2026

Enhancing Web Application Firewalls with Machine Learning for SQL Injection Detection

A DistilBERT-Stacked Ensemble pipeline to improve detection efficiency and robustness while reducing false-positive and false-negative rates is designed and optimised to highlight the value of adversarial training and stacked meta-learning in building robust Web Application Firewalls for SQLi detection.

Lilliane Linnet Musoke, A. Badii, A. Ashlam · 0 citations
Open access Aug 2026

ZeroProbe: An Intelligent Web-Based Vulnerability Scanner Integrating Automated Detection and AI-Based Analysis

The findings confirm that an accessible, accurate, and AI-augmented vulnerability scanner can be constructed for educational and entry-level use within a deliberately bounded scope, lowering the expertise barrier for web application security assessment.

Dah Berrou, Zaenal Alamsyah, Nugraha Nugraha · 0 citations
Jul 2026

Enhancing SQL injection detection via hybrid structural and transformer-based semantic feature extraction

A hybrid SQLi detection framework is proposed by exploiting structural features at the payload level and contextual embeddings generated by RoBERTa and shows that the combined usage of structural and contextual information provides a more discriminative representation for SQLi detection than using one of the representa...

Bahman Arasteh, Yashar Niyayesh, Ali Mohammadjafari et al. · 0 citations
Open access 2026

TDNET: A Dual-Channel Injection Attack Detection Framework for Web Application Firewalls

This work proposes an injection attack detection framework, TDNET, that combines dual-channel feature extraction, multidimensional feature fusion, adaptive attention refinement, and time-sensitive neural architecture search optimization.

Congzhao Wen, Mingzhan Wu, Kongsheng Lin et al. · 0 citations
Preprint Aug 2026

Enhancing Web Application Firewalls with BERT-GNN for SQL Injection Detection

This research study has resulted in an optimised hybrid BERT-GNN pipeline with improved detection accuracy and robustness while reducing false-positive and false-negative rates.

Lilliane Linnet Musoke, A. Badii, A. Ashlam · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.