CSRFinder: Enhanced CSRF Vulnerability Detection via Dangerous Request Features and GBDT Algorithm
International Journal of Software Engineering and Knowledge Engineering · 2027-02 · 37 (02) · 159-196
DOI: 10.1142/s0218194026500488 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Software Engineering and Knowledge Engineering, online erschienen am 30.06.2026. Verfasst von Bing Zhang und 3 weiteren Autor:innen. Die Arbeit nennt 41 Literaturangaben. Gefördert von: Natural Science Foundation of Hebei Province, S&T Program of Hebei, Basic Innovation Research Cultivation Program of Yanshan University.
Abstract (Originalsprache)
Cross-Site Request Forgery (CSRF) vulnerabilities exploit legitimate user actions through unauthorized mechanisms, leading to data tampering, sensitive information leakage, and even system outages, thereby posing a serious threat to the widespread deployment of the industrial Internet. Traditional vulnerability detection methods struggle to effectively address the inherent complexities of CSRF vulnerabilities, resulting in low detection efficiency and limited practical effectiveness. To improve detection efficiency and accuracy, we propose CSRFinder, an enhanced CSRF vulnerability detection method based on dangerous requests and Gradient Boosting Decision Tree (GBDT) algorithm. It first addresses the challenge of collecting dangerous request data by defining explicit rules for identifying dangerous requests and constructing feature datasets that incorporate both attribute-based and textual features. Building on these datasets, CSRFinder employs an ensemble learning approach with multiple classifiers to train a request classification model. Finally, for candidate dangerous requests identified, request replay techniques are employed to construct request forgery scenarios and corresponding vulnerability determination strategies. CSRF vulnerabilities are identified by comparing the responses and corresponding database operations triggered by the original and forged requests. CSRFinder was validated on 15 real-world open-source web applications. Compared with single classifiers and standalone deep learning methods, the GBDT classifier demonstrated superior performance. Specifically, CSRFinder identified 3 CSRF vulnerabilities in PrestaShop websites that were missed by the SOTA method Deemon, while producing only one false positive. Additionally, it detected 9 more CSRF vulnerabilities than the classic method Mitch and exhibited superior overall performance across multiple evaluation metrics.
Förderung
- Natural Science Foundation of Hebei Province
- S&T Program of Hebei
- Basic Innovation Research Cultivation Program of Yanshan University
- National Natural Science Foundation of China
Zitieren
APA
Zhang, B., Lou, C., Ren, R., & Wang, Q. (2027). CSRFinder: Enhanced CSRF Vulnerability Detection via Dangerous Request Features and GBDT Algorithm. International Journal of Software Engineering and Knowledge Engineering, 37(02), 159-196. https://doi.org/10.1142/s0218194026500488
Vancouver
Zhang B, Lou C, Ren R, Wang Q. CSRFinder: Enhanced CSRF Vulnerability Detection via Dangerous Request Features and GBDT Algorithm. International Journal of Software Engineering and Knowledge Engineering. 2027;37(02):159-196. doi:10.1142/s0218194026500488
BibTeX
@article{Zhang2027,
author = {Zhang, Bing and Lou, Chenhua and Ren, Rong and Wang, Qian},
title = {CSRFinder: Enhanced CSRF Vulnerability Detection via Dangerous Request Features and GBDT Algorithm},
journal = {International Journal of Software Engineering and Knowledge Engineering},
year = {2027},
volume = {37},
number = {02},
pages = {159--196},
doi = {10.1142/s0218194026500488}
}
EUVIMED