Yama: Precise Opcode-based Data Flow Analysis for Detecting PHP Applications Vulnerabilities
Zhao Jiazhen, Zhu Kailong, Yu Lu, Huang Hui, and Lu Yuliang

TL;DR
Yama is a precise PHP data flow analysis tool that detects vulnerabilities effectively by leveraging PHP opcode semantics, achieving high accuracy and discovering new security issues in real-world applications.
Contribution
Yama introduces a context- and path-sensitive interprocedural data flow analysis method for PHP, utilizing opcode semantics for enhanced vulnerability detection accuracy.
Findings
Achieved 99.1% true positive rate in complex semantic analysis.
Discovered 38 zero-day vulnerabilities in popular GitHub projects.
Released source code and PHP opcode parsing rules for future research.
Abstract
Web applications encompass various aspects of daily life, including online shopping, e-learning, and internet banking. Once there is a vulnerability, it can cause severe societal and economic damage. Due to its ease of use, PHP has become the preferred server-side programming language for web applications, making PHP applications a primary target for attackers. Data flow analysis is widely used for vulnerability detection before deploying web applications because of its efficiency. However, the high complexity of the PHP language makes it difficult to achieve precise data flow analysis. In this paper, we present Yama, a context-sensitive and path-sensitive interprocedural data flow analysis method for PHP, designed to detect taint-style vulnerabilities in PHP applications. We have found that the precise semantics and clear control flow of PHP opcodes enable data flow analysis to be more…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Advanced Malware Detection Techniques · Network Security and Intrusion Detection
