MINER: A Hybrid Data-Driven Approach for REST API Fuzzing
Chenyang Lyu, Jiacheng Xu, Shouling Ji, Xuhong Zhang, Qinying Wang, Binbin Zhao, Gaoning Pan, Wei Cao, Peng Cheng, Raheem Beyah
摘要
In recent years, REST API fuzzing has emerged to explore errors on a cloud service. Its performance highly depends on the sequence construction and request generation. However, existing REST API fuzzers have trouble generating long sequences with well-constructed requests to trigger hard-to-reach states in a cloud service, which limits their performance of finding deep errors and security bugs. Further, they cannot find the specific errors caused by using undefined parameters during request generation. Therefore, in this paper, we propose a novel hybrid data-driven solution, named MINER, with three new designs working together to address the above limitations. First, MINER collects the valid sequences whose requests pass the cloud service's checking as the templates, and assigns more executions to long sequence templates. Second, to improve the generation quality of requests in a sequence template, MINER creatively leverages the state-of-the-art neural network model to predict key request parameters and provide them with appropriate parameter values. Third, MINER implements a new data-driven security rule checker to capture the new kind of errors caused by undefined parameters. We evaluate MINER against the state-of-the-art fuzzer RESTler on GitLab, Bugzilla, and WordPress via 11 REST APIs. The results demonstrate that the average pass rate of MINER is 23.42% higher than RESTler. MINER finds 97.54% more unique errors than RESTler on average and 142.86% more reproducible errors after manual analysis. We have reported all the newly found errors, and 7 of them have been confirmed as logic bugs by the corresponding vendors.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 CollAFL: Path Sensitive Fuzzing
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- APIRL: Deep Reinforcement Learning for REST API Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- CollAFL: Path Sensitive Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 CollAFL: Path Sensitive Fuzzing
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Hopper: Interpretative Fuzzing for Libraries
- SoK: Prudent Evaluation Practices for Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 CollAFL: Path Sensitive Fuzzing
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Coverage-based Greybox Fuzzing as Markov Chain
- Hopper: Interpretative Fuzzing for Libraries 引用了 QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
- Hopper: Interpretative Fuzzing for Libraries 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Coverage-based Greybox Fuzzing as Markov Chain 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
引用它的顶会 Paper11
- SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
- Hopper: Interpretative Fuzzing for LibrariesPeng Chen, Yuxuan Xie, Yunlong Lyu, Yuxiao Wang 等CCS 2023 · 23 次引用
- Vulnerability-oriented Testing for RESTful APIsWenlong Du, Jian Li, Yanhao Wang, Libo Chen 等USENIX Security 2024 · 17 次引用
- APIRL: Deep Reinforcement Learning for REST API FuzzingMyles Foley, Sergio MaffeisAAAI 2025 · 6 次引用
- Fidelity of Cloud Emulators: The Imitation Game of Testing Cloud-Based SoftwareAnna Mazhar, Saad Sher Alam, William X. Zheng, Yinfang Chen 等ICSE 2025 · 2 次引用
它引用的 Paper23
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
- Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher 等NDSS 2016 · 1,021 次引用
- QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang 等USENIX Security 2018 · 537 次引用
- CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu 等S&P 2018 · 426 次引用
- REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik 等NDSS 2019 · 413 次引用
相关 Paper
- Intelligent REST API data fuzzingPatrice Godefroid, Bo-Yuan Huang, Marina PolishchukFSE 2020 · 57 次引用
- Differential regression testing for REST APIsPatrice Godefroid, Daniel Lehmann, Marina PolishchukISSTA 2020 · 52 次引用
- RESTGuardian: Automated Black-Box Fuzzing for RESTful API via Efficient Dependency Inference and Deep Vulnerability DetectionYifan Guo, Na Wang, Yunjia Wang, Zhenyu Chen 等CCS 2026
- Automatic Library Fuzzing through API Relation EvolvementJiayi Lin, Qingyu Zhang, Junzhe Li, Chenxin Sun 等NDSS 2025
- Minerva: browser API fuzzing with dynamic mod-ref analysisChijin Zhou, Quan Zhang, Mingzhe Wang, Lihua Guo 等FSE 2022 · 20 次引用
