ODDFUZZ: Discovering Java']Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing

被引:13
|
作者
Cao, Sicong [1 ]
He, Biao [2 ]
Sun, Xiaobing [1 ]
Ouyang, Yu [2 ]
Zhang, Chao [3 ]
Wu, Xiaoxue [1 ]
Su, Ting [4 ]
Bo, Lili [1 ]
Li, Bin [1 ]
Ma, Chuanlei [2 ]
Li, Jiajia [2 ]
Wei, Tao [2 ]
机构
[1] Yangzhou Univ, Yangzhou, Jiangsu, Peoples R China
[2] Ant Grp, Hangzhou, Peoples R China
[3] Tsinghua Univ, Beijing, Peoples R China
[4] East China Normal Univ, Shanghai, Peoples R China
来源
2023 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP | 2023年
基金
中国国家自然科学基金;
关键词
D O I
10.1109/SP46215.2023.10179377
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Java deserialization vulnerability is a severe threat in practice. Researchers have proposed static analysis solutions to locate candidate vulnerabilities and fuzzing solutions to generate proof-of-concept (PoC) serialized objects to trigger them. However, existing solutions have limited effectiveness and efficiency. In this paper, we propose a novel hybrid solution ODDFUZZ to efficiently discover Java deserialization vulnerabilities. First, ODDFUZZ performs lightweight static taint analysis to identify candidate gadget chains that may cause deserialization vulnerabilities. In this step, ODDFUZZ tries to locate all candidates and avoid false negatives. Then, ODDFUZZ performs directed greybox fuzzing (DGF) to explore those candidates and generate PoC testcases to mitigate false positives. Specifically, ODDFUZZ applies a structure-aware seed generation method to guarantee the validity of the testcases, and adopts a novel hybrid feedback and a step-forward strategy to guide the directed fuzzing. We implemented a prototype of ODDFUZZ and evaluated it on the popular Java deserialization repository ysoserial. Results show that, ODDFUZZ could discover 16 out of 34 known gadget chains, while two state-of-the-art baselines only identify three of them. In addition, we evaluated ODDFUZZ on real-world applications including Oracle WebLogic Server, Apache Dubbo, Sonatype Nexus, and protostuff, and found six previously unreported exploitable gadget chains with five CVEs assigned.
引用
收藏
页码:2726 / 2743
页数:18
相关论文
共 2 条
  • [1] ODDFUZZ: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing
    Cao, Sicong
    He, Biao
    Sun, Xiaobing
    Ouyang, Yu
    Zhang, Chao
    Wu, Xiaoxue
    Su, Ting
    Bo, Lili
    Li, Bin
    Ma, Chuanlei
    Li, Jiajia
    Wei, Tao
    arXiv, 2023,
  • [2] ODDFuzz: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing
    Yangzhou University, China
    不详
    不详
    不详
    Proc. IEEE Symp. Secur. Privacy, (2726-2743):