Seneca: Taint-Based Call Graph Construction for Java Object Deserialization
Proceedings of the ACM on Programming Languages · 2024-04-29 · 8 (OOPSLA1) · 1125-1153
DOI: 10.1145/3649851 ↗At a glance
Journal article in Proceedings of the ACM on Programming Languages, published online on 2024-04-29. Written by Joanna C. S. Santos and 2 co-authors. Cited 15 times so far (Crossref); 73 references. The full text is freely available (open access, CC BY 4.0). Funded by: National Science Foundation.
Abstract (original language)
Object serialization and deserialization are widely used for storing and preserving objects in files, memory, or database as well as for transporting them across machines, enabling remote interaction among processes and many more. This mechanism relies on reflection, 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 Seneca, 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 Seneca can create sound call graphs with respect to serialization features. The resulting call graphs do not incur significant runtime overhead and were shown to be useful for performing identification of vulnerable paths caused by untrusted object deserialization.
Funding
- National Science Foundation
Cite
APA
Santos, J. C. S., Mirakhorli, M., & Shokri, A. (2024). Seneca: Taint-Based Call Graph Construction for Java Object Deserialization. Proceedings of the ACM on Programming Languages, 8(OOPSLA1), 1125-1153. https://doi.org/10.1145/3649851
Vancouver
Santos JCS, Mirakhorli M, Shokri A. Seneca: Taint-Based Call Graph Construction for Java Object Deserialization. Proceedings of the ACM on Programming Languages. 2024;8(OOPSLA1):1125-1153. doi:10.1145/3649851
BibTeX
@article{Santos2024,
author = {Santos, Joanna C. S. and Mirakhorli, Mehdi and Shokri, Ali},
title = {Seneca: Taint-Based Call Graph Construction for Java Object Deserialization},
journal = {Proceedings of the ACM on Programming Languages},
year = {2024},
volume = {8},
number = {OOPSLA1},
pages = {1125--1153},
doi = {10.1145/3649851}
}
EUVIMED