Artemis: Toward Accurate Detection of Server-Side Request Forgeries through LLM-Assisted Inter-Procedural Path-Sensitive Taint Analysis
Yuchen Ji, Ting Dai, Zhichao Zhou, Yutian Tang, Jingzhu He

TL;DR
Artemis is a static analysis tool that improves SSRF vulnerability detection in PHP web applications by using inter-procedural, path-sensitive taint analysis with LLM assistance to reduce false positives and identify new vulnerabilities.
Contribution
Artemis introduces a novel static taint analysis approach that incorporates LLM-assisted call graph construction and path condition analysis for accurate SSRF detection in PHP.
Findings
Detected 106 true SSRF vulnerabilities, including 35 new ones.
Achieved 15 false positives in vulnerability reports.
Successfully identified vulnerabilities in 250 PHP applications.
Abstract
Server-side request forgery (SSRF) vulnerabilities are inevitable in PHP web applications. Existing static tools in detecting vulnerabilities in PHP web applications neither contain SSRF-related features to enhance detection accuracy nor consider PHP's dynamic type features. In this paper, we present Artemis, a static taint analysis tool for detecting SSRF vulnerabilities in PHP web applications. First, Artemis extracts both PHP built-in and third-party functions as candidate source and sink functions. Second, Artemis constructs both explicit and implicit call graphs to infer functions' relationships. Third, Artemis performs taint analysis based on a set of rules that prevent over-tainting and pauses when SSRF exploitation is impossible. Fourth, Artemis analyzes the compatibility of path conditions to prune false positives. We have implemented a prototype of Artemis and evaluated it on…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
