arrow
返回

An In-depth Study of Java Deserialization Remote-Code Execution Exploits and Vulnerabilities

delete2023-02-13
delete5
delete
OA
AI
I
Imen Sayar *
A
Alexandre Bartel
E
Eric Bodden
Y
Yves Le Traon
DOI:10.1145/3554732delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Nowadays, an increasing number of applications use deserialization. This technique, based on rebuilding the instance of objects from serialized byte streams, can be dangerous since it can open the application to attacks such as remote code execution (RCE) if the data to deserialize is originating from an untrusted source. Deserialization vulnerabilities are so critical that they are in OWASP's list of top 10 security risks for web applications. This is mainly caused by faults in the development process of applications and by flaws in their dependencies, i.e., flaws in the libraries used by these applications. No previous work has studied deserialization attacks in-depth: Howare they performed? Howareweaknesses introduced and patched? And for how long are vulnerabilities present in the codebase? To yield a deeper understanding of this important kind of vulnerability, we perform two main analyses: one on attack gadgets, i.e., exploitable pieces of code, present in Java libraries, and one on vulnerabilities present in Java applications. For the first analysis, we conduct an exploratory large-scale study by running 256 515 experiments in which we vary the versions of libraries for each of the 19 publicly available exploits. Such attacks rely on a combination of gadgets present in one or multiple Java libraries. A gadget is a method which is using objects or fields that can be attackercontrolled. Our goal is to precisely identify library versions containing gadgets and to understand howgadgets have been introduced and how they have been patched. We observe that the modification of one innocentlooking detail in a class - such asmaking it public - can already introduce a gadget. Furthermore, we noticed that among the studied libraries, 37.5% are not patched, leaving gadgets available for future attacks. For the second analysis, we manually analyze 104 deserialization vulnerabilities CVEs to understand how vulnerabilities are introduced and patched in real-life Java applications. Results indicate that the vulnerabilities are not always completely patched or that a workaround solution is proposed. With a workaround solution, applications are still vulnerable since the code itself is unchanged.
Keyword:
Serialization
deserialization
vulnerabilities
gadget
remote code execution RCE

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

U
universite toulouse iii - paul sabatier
学者数:
1.8W
论文数: 1.3W
被引数: 23
U
universite de toulouse
学者数:
3.5W
论文数: 2.7W
被引数: 37
U
University of Paderborn
学者数:
2.9K
论文数: 2.7K
被引数: 2
U
Umea University
学者数:
1.4W
论文数: 1.4W
被引数: 134
学者 查看更多机构
引用论文

引用论文

EFFECT OF COOLING PERIOD ON QUALITY AND RIPENING OF ‘DOYENNE DU COMICE’ PEARS
err2001-06-01
err0
PREAI
errR. Miró; J. Graell; C. Larrigaudiere; M.L. López
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容