arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.26651cs.CR
收藏

Batch Me If You Can: 大规模覆盖引导的RPKI模糊测试

Batch Me If You Can: Coverage-guided RPKI Fuzzing at Scale

Goethe-Universität Frankfurt(法兰克福歌德大学);ATHENE National Research Center for Applied Cybersecurity(ATHENE国家应用网络安全研究中心)

Haya Schulmann, Niklas Vogel

AI总结:

针对RPKI软件现有模糊测试无法处理多对象加密仓库的局限性,提出基于连续采样和函数侧信道的覆盖归因技术,结合非顺序模糊测试与ASN.1变异引擎,实现66倍吞吐量提升并发现21个新漏洞。

摘要:

资源公钥基础设施(RPKI)已成为保护域间路由安全的关键。尽管其作用关键,但RPKI软件在浅层解析之外基本未经测试。现有的模糊测试工具(如AFL++或libFuzzer)不适用于RPKI,因为它们假设每次执行一个自包含的输入,而RPKI仓库包含数百个相互依赖的加密链接对象。现有模糊测试无法处理这种复杂性,且缺乏在多对象仓库中进行精确覆盖归因的能力,从而破坏了基于反馈的探索,进而遗漏了RPKI验证中最严重的漏洞。在本文中,我们通过新颖的模糊测试技术克服了这些限制,包括连续采样以及使用函数作为侧信道来实现大型输入仓库中每个对象的覆盖归因。我们进一步展示了如何将输入解析为带标签的树,从而在变异仓库中实现结构和语义变异,同时保持密码学有效性。我们将这些新技术实现为一个强大的模糊测试工具CAT,它将非顺序模糊测试与我们的模板无关ASN.1变异引擎相结合,相比顺序模糊测试实现了66倍的吞吐量提升,并且相比libFuzzer和先前工作探索了多24%-47%的独特代码路径。在RPKI验证器上评估CAT发现了21个先前未知的漏洞,其中8个已分配CVE(CVSS 7.5-9.8)。这些漏洞包括缓冲区溢出、拒绝服务(DoS)和可利用的仓库投毒逻辑缺陷。我们开源CAT以实现可重复性、进一步研究以及将我们的方法适应于其他基于复杂密码学的协议(如DNSSEC和TLS)。

英文摘要:

The Resource Public Key Infrastructure (RPKI) has become essential to secure inter-domain routing. Despite its critical role, RPKI software remains largely untested beyond shallow parsing. Existing fuzzers, like AFL++ or libFuzzer, do not work well for RPKI as they assume a single, self-contained input per execution, while RPKI repositories contain hundreds of interdependent cryptographically linked objects. Existing fuzzers fail to handle this complexity and lack the ability for precise coverage attribution in multi-object repositories, breaking feedback-based exploration and thereby missing most severe vulnerabilities in RPKI validation. In this paper, we overcome these limitations through novel fuzzing techniques, including continuous sampling and using functions as side-channels for per-object coverage attribution in large input repositories. We further show how parsing inputs to a labeled tree allows structural and semantic mutations while preserving cryptographic validity in mutated repositories. We implement our new techniques into a powerful fuzzing tool called CAT, combining non-sequential fuzzing with our template-agnostic ASN.1 mutation engine to achieve 66x throughput improvement over sequential fuzzing and exploring 24 - 47% more unique code paths compared to libFuzzer and previous work. Evaluating CAT on RPKI validators uncovered 21 previously unknown vulnerabilities with 8 CVEs already assigned (CVSS 7.5 - 9.8). These include a buffer overflow, Denial-of-Service (DoS), and exploitable repository-poisoning logic flaws. We open-source CAT to enable reproducibility, further research, and adaptation of our methods to other complex cryptography-based protocols such as DNSSEC and TLS.

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

↑