arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01645cs.CR
收藏

在Java漏洞发现中 contextualizing sink knowledge

Contextualizing Sink Knowledge for Java Vulnerability Discovery

Georgia Institute of Technology(佐治亚理工学院);Samsung Research(三星研究院);University of Waterloo(滑铁卢大学)

Fabian Fleischer, Cen Zhang, Joonun Jang, Jeongin Cho, Meng Xu, Taesoo Kim

AI总结:

GONDAR框架通过利用sink API语义进行针对性漏洞发现,通过CWE扫描和LLM静态过滤识别可利用的sink调用点,并通过探索和利用代理协作发现更多漏洞。

摘要:

Java应用程序容易受到安全敏感API不安全使用导致的漏洞影响,如文件操作允许路径遍历或反序列化程序允许远程代码执行。这些sink API编码了关键信息用于漏洞发现:达到它们所需的程序特定约束和触发安全漏洞所需的利用条件。尽管如此,现有的模糊测试器大多忽视此类漏洞特定知识,限制了其有效性。我们提出了GONDAR,一个以sink为中心的模糊测试框架,系统地利用sink API语义进行针对性漏洞发现。GONDAR首先通过CWE特定扫描结合LLM辅助静态过滤识别可达且可利用的sink调用点。然后部署两个专门的代理,与覆盖引导模糊测试器协同工作:探索代理通过迭代求解路径约束生成输入以到达目标调用点,而利用代理通过推理和满足漏洞触发条件合成概念验证利用。代理和模糊测试器持续交换种子和运行时反馈,相互补充。我们对现实世界的Java基准进行了评估,GONDAR发现的漏洞数量是Jazzer的四倍。值得注意的是,一个早期版本的GONDAR帮助Team Atlanta在DARPA AI Cyber Challenge中获得第一名,且已集成到OSS-CRS项目中,用于分析开源Java项目,已经发现了零日漏洞。

英文摘要:

Java applications are prone to vulnerabilities stemming from the insecure use of security-sensitive APIs, such as file operations enabling path traversal or deserialization routines allowing remote code execution. These sink APIs encode critical information for vulnerability discovery: the program-specific constraints required to reach them and the exploitation conditions necessary to trigger security flaws. Despite this, existing fuzzers largely overlook such vulnerability-specific knowledge, limiting their effectiveness. We present GONDAR, a sink-centric fuzzing framework that systematically leverages sink API semantics for targeted vulnerability discovery. GONDAR first identifies reachable and exploitable sink call sites through CWE-specific scanning combined with LLM-assisted static filtering. It then deploys two specialized agents that work collaboratively with a coverage-guided fuzzer: an exploration agent generates inputs to reach target call sites by iteratively solving path constraints, while an exploitation agent synthesizes proof-of-concept exploits by reasoning about and satisfying vulnerability-triggering conditions. The agents and fuzzer continuously exchange seeds and runtime feedback, complementing each other. We evaluated GONDAR on real-world Java benchmarks, where it discovers four times more vulnerabilities than Jazzer, the state-of-the-art Java fuzzer. Notably, an earlier GONDAR version contributed to Team Atlanta's first-place CRS in the DARPA AI Cyber Challenge, and is integrated into OSS-CRS, a sandbox project in The Linux Foundation's OpenSSF, to analyze open-source Java projects, where it has already uncovered a zero-day vulnerability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑