ODDFUZZ:通过结构感知的定向灰盒模糊测试发现Java反序列化漏洞
ODDFUZZ: Discovering Java Deserialization Vulnerabilities via Structure-Aware Directed Greybox Fuzzing
AI总结:
提出混合解决方案ODDFUZZ,结合轻量级静态污点分析与结构感知的定向灰盒模糊测试,高效发现Java反序列化漏洞,在基准测试和真实应用中表现显著优于现有方法并发现多个新漏洞。
摘要:
Java反序列化漏洞在实践中是一种严重的威胁。研究人员已经提出了静态分析解决方案来定位候选漏洞,以及模糊测试解决方案来生成概念验证(PoC)序列化对象以触发它们。然而,现有的解决方案在有效性和效率上存在局限。在本文中,我们提出了一种新颖的混合解决方案ODDFUZZ,以高效地发现Java反序列化漏洞。首先,ODDFUZZ执行轻量级静态污点分析,以识别可能导致反序列化漏洞的候选gadget chain(利用链)。在这一步中,ODDFUZZ试图定位所有候选对象并避免漏报。然后,ODDFUZZ执行定向灰盒模糊测试(DGF)来探索这些候选对象并生成PoC测试用例,以缓解误报。具体而言,ODDFUZZ应用结构感知的种子生成方法来保证测试用例的有效性,并采用一种新颖的混合反馈和前进步骤策略来指导定向模糊测试。我们实现了ODDFUZZ的原型,并在流行的Java反序列化仓库ysoserial上对其进行了评估。结果显示,ODDFUZZ能够发现34个已知gadget chain中的16个,而两个最先进的基线方法仅识别出其中的3个。此外,我们在包括Oracle WebLogic Server、Apache Dubbo、Sonatype Nexus和protostuff在内的真实应用程序上评估了ODDFUZZ,并发现了6个此前未报告的可利用gadget chain,并被分配了5个CVE。
英文摘要:
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 vulner-abilities. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。