WuppieFuzz:基于覆盖率的、状态ful的REST API模糊测试
WuppieFuzz: Coverage-Guided, Stateful REST API Fuzzing
AI总结:
WuppieFuzz基于LibAFL构建,支持白盒、灰盒和黑盒模糊测试,通过OpenAPI生成初始输入集并利用变异器探索代码路径,自动化生成Harness以减少手动工作,通过Petstore API评估白盒方法的鲁棒性和不同功率计划的有效性。
摘要:
许多业务过程目前依赖于网络服务,通常使用REST API进行通信。REST API通过端点暴露网络服务功能,允许通过互联网轻松进行客户端交互。为了减少暴露端点带来的安全风险,需要彻底测试。由于端点数量通常非常庞大,自动化测试技术,如模糊测试,变得重要。本文介绍了WuppieFuzz,一个基于LibAFL构建的REST API模糊器,支持白盒、灰盒和黑盒模糊测试。利用OpenAPI规范,它可以生成由请求序列组成的初始输入集。这些通过REST特定和LibAFL提供的变异器进行变异,以探索软件被测对象的不同代码路径。通过测量的覆盖率指导,WuppieFuzz选择下一步发送的请求序列以达到软件被测对象的复杂状态。在此过程中,它自动化生成Harness以减少模糊测试中通常需要的手动工作。模糊器提供不同类型的报告以帮助修复漏洞。我们评估了我们的工具在Petstore API上的表现,以评估白盒方法的鲁棒性和不同功率计划的有效性。我们进一步监控端点和代码覆盖率随时间的变化,以衡量该方法的效果。
英文摘要:
Many business processes currently depend on web services, often using REST APIs for communication. REST APIs expose web service functionality through endpoints, allowing easy client interaction over the Internet. To reduce the security risk resulting from exposed endpoints, thorough testing is desired. Due to the generally vast number of endpoints, automated testing techniques, like fuzzing, are of interest. This paper introduces WuppieFuzz, an open-source REST API fuzzer built on LibAFL, supporting white-box, grey-box and black-box fuzzing. Using an OpenAPI specification, it can generate an initial input corpus consisting of sequences of requests. These are mutated with REST-specific and LibAFL-provided mutators to explore different code paths in the software under test. Guided by the measured coverage, WuppieFuzz then selects which request sequences to send next to reach complex states in the software under test. In this process, it automates harness creation to reduce manual efforts often required in fuzzing. Different kinds of reporting are provided by the fuzzer to help fixing bugs. We evaluated our tool on the Petstore API to assess the robustness of the white-box approach and the effectiveness of different power schedules. We further monitored endpoint and code coverage over time to measure the efficacy of the approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。