Seneca: Taint-Based Call Graph Construction for Java Object Deserialization
Joanna C. S. Santos, Mehdi Mirakhorli, Ali Shokri
摘要
Object serialization and deserialization are widely used for storing and preserving objects in les, memory, or database as well as for transporting them across machines, enabling remote interaction among processes and many more. This mechanism relies on reection, a dynamic language that introduces serious challenges for static analyses. Current state-of-the-art call graph construction algorithms do not fully support object serialization/deserialization, i.e., they are unable to uncover the callback methods that are invoked when objects are serialized and deserialized. Since call graphs are a core data structure for multiple types of analysis (e.g., vulnerability detection), an appropriate analysis cannot be performed since the call graph does not capture hidden (vulnerable) paths that occur via callback methods. In this paper, we present S, an approach for handling serialization with improved soundness in the context of call graph construction. Our approach relies on taint analysis and API modeling to construct sound call graphs. We evaluated our approach with respect to soundness, precision, performance, and usefulness in detecting untrusted object deserialization vulnerabilities. Our results show that S can create sound call graphs with respect to serialization features. The resulting call graphs do not incur signicant runtime overhead and were shown to be useful for performing identication of vulnerable paths caused by untrusted object deserialization.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing 引用了 SerialDetector: Principled and Practical Exploration of Object Injection Vulnerabilities for the Web
- Gleipner: A Benchmark for Gadget Chain Detection in Java Deserialization Vulnerabilities 引用了 ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing
- Gleipner: A Benchmark for Gadget Chain Detection in Java Deserialization Vulnerabilities 引用了 SerialDetector: Principled and Practical Exploration of Object Injection Vulnerabilities for the Web
- Sleeping Giants - Activating Dormant Java Deserialization Gadget Chains through Stealthy Code Changes 引用了 ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing
- Sleeping Giants - Activating Dormant Java Deserialization Gadget Chains through Stealthy Code Changes 引用了 Gleipner: A Benchmark for Gadget Chain Detection in Java Deserialization Vulnerabilities
引用它的顶会 Paper3
- Artemis: Toward Accurate Detection of Server-Side Request Forgeries through LLM-Assisted Inter-procedural Path-Sensitive Taint AnalysisYuchen Ji, Ting Dai, Zhichao Zhou, Yutian Tang 等OOPSLA 2025 · 9 次引用
- Gleipner: A Benchmark for Gadget Chain Detection in Java Deserialization VulnerabilitiesBruno Kreyssig, Alexandre BartelFSE 2025 · 2 次引用
- Sleeping Giants - Activating Dormant Java Deserialization Gadget Chains through Stealthy Code ChangesBruno Kreyssig, Sabine Houy, Timothée Riom, Alexandre BartelCCS 2025
它引用的 Paper4
- Static analysis of Java enterprise applications: frameworks and caches, the elephants in the roomAnastasios Antoniadis, Nikos Filippakis, Paddy Krishnan, Raghavendra Ramesh 等PLDI 2020 · 41 次引用
- On the recall of static call graph construction in practiceLi Sui, Jens Dietrich, Amjed Tahir, George FourtounisICSE 2020 · 34 次引用
- ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox FuzzingSicong Cao, Biao He, Xiaobing Sun, Yu Ouyang 等S&P 2023
- SerialDetector: Principled and Practical Exploration of Object Injection Vulnerabilities for the WebMikhail Shcherbakov, Musard BalliuNDSS 2021
相关 Paper
- Precise and Effective Gadget Chain Mining through Deserialization Guided Call Graph ConstructionYiheng Zhang, Ming Wen, Shunjie Liu, Dongjie He 等USENIX Security 2025
- GadgetHunter: Region-Based Neuro-symbolic Detection of Java Deserialization VulnerabilitiesKaixuan Li, Jian Zhang, Chong Wang, Sen Chen 等FSE 2026
- Unimocg: Modular Call-Graph Algorithms for Consistent Handling of Language FeaturesDominik Helm, Tobias Roth, Sven Keidel, Michael Reif 等ISSTA 2024
- CoBrA: Context-, Branch-sensitive Static Analysis for Detecting Taint-style Vulnerabilities in PHP Web ApplicationsYichao Xu, Mingqing Kang, Neil Thimmaiah, Rigel Gjomemo 等ICSE 2026
- Representing and Reasoning about Dynamic CodeJesse Bartels, Jon Stephens, Saumya DebrayASE 2020
