Web Fuzzing Commons, Dataset, Guidelines and Evaluations to Support Experimentation in REST API Fuzzing
Fuzzing REST APIs is an important research problem, with practical applications and impact in industry. As such, lot of research work has been carried out on this topic in the last few years. However, there are three major issues that hinder further progress: (1) how to deal with API authentication; (2) how to catalog and compare different fault types found by different fuzzers; (3) what to use as case study to facilitate fair comparisons among fuzzers. In this paper, to address these important challenges, we present Web Fuzzing Commons (WFC), Web Fuzzing Dataset (WFD) and Web Fuzzing Evaluations (WFE). WFC is a set of open-source libraries and schema definitions to declaratively specify authentication info and catalog different types of faults that fuzzers can automatically detect. WFD is a collection of 56 open-source APIs, configured to run with Docker-Compose, supported by WFC. WFE provides scaffolding scripts to automatically run experiments and collecting/analysing their results, employing different REST API fuzzers configured via Docker, using WFD as case study. This is a community driven work, currently stewarded by the authors of the most popular open-source REST API fuzzers, including CATS, EvoMaster, Schemathesis and WuppieFuzz. To show the usefulness of WFC/WFD/WFE, a set of experiments is carried out with these fuzzers on WFD, using WFE. In our empirical analyses, we also include other state-of-the-art fuzzers such as ARAT-RL, EmRest, LLamaRestTest, and RESTler. We also discuss common pitfalls in tool comparisons, as well as providing guidelines with support of WFC/WFD to avoid them.