A Hybrid Passive–Active Framework for Server-Side Request Forgery Detection Using Machine Learning

Server-Side Request Forgery (SSRF) lets an attacker coerce a server into issuing requests to attacker-chosen destinations, exposing internal services and cloud metadata. We present ML-SSRFinder, a dual-mode framework that unifies three analysers. In passive mode, before any traffic is sent, a deterministic rule-based calculator scores the request with fourteen weighted features and a supervised XGBoost classifier provides a triage prior. In active mode, after injection, a supervised response model classifies the HTTP response on thirty-three features, the strongest of a support vector machine, XGBoost, and a random forest giving the verdict by default and their majority-vote ensemble remaining available as an option; a deterministic content-analysis module adds high-precision matching for cloud metadata, credentials, system files, and firewall blocks, and a mode-dependent formula fuses the signals. We report only metrics produced by the training code. On the forty-example request corpus the passive classifier attains a leave-one-out accuracy of 0.900 (F1 0.933); on the twenty-eight-example response corpus the leave-one-out accuracies are 0.857 for the support vector machine, 0.679 for the random forest, and 0.643 for XGBoost, the support vector machine ranking first and adopted as the default response model. No component is perfect; the passive classifier is a triage signal rather than a verdict, and the small corpora make all estimates indicative rather than definitive.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-10-30
DOI
https://doi.org/10.3390/app162110757
Primary Topic
Web Application Security Vulnerabilities
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Hybrid Passive–Active Framework for Server-Side Request Forgery Detection Using Machine Learning

Maitreyee Dey, Jaime Vega Flores
2 links
Applied Sciences
Web Application Security Vulnerabilities
article

A Hybrid Passive–Active Framework for Server-Side Request Forgery Detection Using Machine Learning

Maitreyee Dey, Jaime Vega Flores
article en

Abstract

Server-Side Request Forgery (SSRF) lets an attacker coerce a server into issuing requests to attacker-chosen destinations, exposing internal services and cloud metadata. We present ML-SSRFinder, a dual-mode framework that unifies three analysers. In passive mode, before any traffic is sent, a deterministic rule-based calculator scores the request with fourteen weighted features and a supervised XGBoost classifier provides a triage prior. In active mode, after injection, a supervised response model classifies the HTTP response on thirty-three features, the strongest of a support vector machine, XGBoost, and a random forest giving the verdict by default and their majority-vote ensemble remaining available as an option; a deterministic content-analysis module adds high-precision matching for cloud metadata, credentials, system files, and firewall blocks, and a mode-dependent formula fuses the signals. We report only metrics produced by the training code. On the forty-example request corpus the passive classifier attains a leave-one-out accuracy of 0.900 (F1 0.933); on the twenty-eight-example response corpus the leave-one-out accuracies are 0.857 for the support vector machine, 0.679 for the random forest, and 0.643 for XGBoost, the support vector machine ranking first and adopted as the default response model. No component is perfect; the passive classifier is a triage signal rather than a verdict, and the small corpora make all estimates indicative rather than definitive.

Applied SciencesVol. 16(21)
London Metropolitan University (GB)
Openalex Percentile: Top 6%
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