DAFuzz: data-aware fuzzing of in-memory data stores

Author:

Zeng Yingpei1,Zhu Fengming1,Zhang Siyi1,Yang Yu1,Yi Siyu1,Pan Yufan1,Xie Guojie2,Wu Ting3

Affiliation:

1. School of Cyberspace, Hangzhou Dianzi University, Hangzhou, China

2. Zhejiang Key Laboratory of Open Data, Hangzhou, China

3. Hangzhou Innovation Institute, Beihang University, Hangzhou, China

Abstract

Fuzzing has become an important method for finding vulnerabilities in software. For fuzzing programs expecting structural inputs, syntactic- and semantic-aware fuzzing approaches have been particularly proposed. However, they still cannot fuzz in-memory data stores sufficiently, since some code paths are only executed when the required data are available. In this article, we propose a data-aware fuzzing method, DAFuzz, which is designed by considering the data used during fuzzing. Specifically, to ensure different data-sensitive code paths are exercised, DAFuzz first loads different kinds of data into the stores before feeding fuzzing inputs. Then, when generating inputs, DAFuzz ensures the generated inputs are not only syntactically and semantically valid but also use the data correctly. We implement a prototype of DAFuzz based on Superion and use it to fuzz Redis and Memcached. Experiments show that DAFuzz covers 13~95% more edges than AFL, Superion, AFL++, and AFLNet, and discovers vulnerabilities over 2.7× faster. In total, we discovered four new vulnerabilities in Redis and Memcached. All the vulnerabilities were reported to developers and have been acknowledged and fixed.

Funder

Zhejiang Provincial Natural Science Foundation of China

National Natural Science Foundation of China

Key Research Project of Zhejiang Province, China

“Pioneer” and “Leading Goose” R&D Program of Zhejiang

Publisher

PeerJ

Subject

General Computer Science

Reference60 articles.

1. NAUTILUS: fishing for deep bugs with grammars;Aschermann,2019a

2. IJON: exploring deep state spaces via fuzzing;Aschermann,2020

3. REDQUEEN: fuzzing with input-to-state correspondence;Aschermann,2019b

4. Stateful greybox fuzzing;Ba,2022

5. Boofuzz: network protocol fuzzing for humans;Boofuzz;GitHub,2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3