跳到主要导航 跳到搜索 跳到主要内容

Sequence-Oriented DBMS Fuzzing

  • Jie Liang
  • , Yaoguang Chen
  • , Zhiyong Wu
  • , Jingzhou Fu
  • , Mingzhe Wang
  • , Yu Jiang*
  • , Xiangdong Huang
  • , Ting Chen
  • , Jiashui Wang
  • , Jiajia Li
  • *此作品的通讯作者
  • Tsinghua University
  • Ant Group
  • ShuiMuYuLin Ltd
  • UEST-Center for Cybersecurity
  • Zhejiang University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

The SQL specification consists of hundreds of statement types, which leads to difficulties in DBMS fuzzing: state-of-the-art works generally reuse the statements of predefined types; the limited types cannot cover the full input space and test the corresponding logic consequently. In this paper, we propose Lego, a fuzzer to generate SQL sequences with abundant types to improve DBMS fuzzing coverage. The key idea of sequence generation is type-affinity, which indicates the meaningful occurrence of SQL type pairs (e.g., INSERT and SELECT). During each fuzzing iteration, Lego first proactively explores SQL statements of different types and analyzes affinities with coverage feedback. Next, when a new affinity is discovered, Lego synthesizes new SQL sequences containing the types progressively.We evaluate Lego on PostgreSQL, MySQL, MariaDB, and Comdb2 against SQLancer, SQLsmith, and Squirrel. The sequence-oriented fuzzing helps Lego outperform other fuzzers on branch coverage by 44%-198%. More importantly, in the continuous fuzzing, Lego has discovered 102 new vulnerabilities confirmed by the corresponding vendors, including 6 bugs in PostgreSQL, 21 bugs in MySQL, 42 bugs in MariaDB, and 33 bugs in Comdb2. Among them, 22 CVEs have been assigned due to their severe security influences.

源语言英语
主期刊名Proceedings - 2023 IEEE 39th International Conference on Data Engineering, ICDE 2023
出版商IEEE Computer Society
668-681
页数14
ISBN(电子版)9798350322279
DOI
出版状态已出版 - 2023
已对外发布
活动39th IEEE International Conference on Data Engineering, ICDE 2023 - Anaheim, 美国
期限: 3 4月 20237 4月 2023

出版系列

姓名Proceedings - International Conference on Data Engineering
2023-April
ISSN(印刷版)1084-4627

会议

会议39th IEEE International Conference on Data Engineering, ICDE 2023
国家/地区美国
Anaheim
时期3/04/237/04/23

学术指纹

探究 'Sequence-Oriented DBMS Fuzzing' 的科研主题。它们共同构成独一无二的学术指纹。

引用此