SQLaser: Detecting DBMS Logic Bugs with Clause-Guided Fuzzing
Jin Wei, Ping Chen, Kangjie Lu, Jun Dai, Xiaoyan Sun

TL;DR
SQLaser is a clause-guided fuzzing tool that efficiently detects logic bugs in DBMSs by modeling bug patterns as error-prone function chains and using a novel path navigation mechanism.
Contribution
It introduces a new clause-guided fuzzing approach with a path-to-path distance mechanism for effective logic bug detection in DBMSs.
Findings
Discovered 35 logic bug patterns across four DBMSs.
Reduced bug detection time by approximately 60%.
Effectively navigates to target code paths for bug discovery.
Abstract
Database Management Systems (DBMSs) are vital components in modern data-driven systems. Their complexity often leads to logic bugs, which are implementation errors within the DBMSs that can lead to incorrect query results, data exposure, unauthorized access, etc., without necessarily causing visible system failures. Existing detection employs two strategies: rule-based bug detection and coverage-guided fuzzing. In general, rule specification itself is challenging; as a result, rule-based detection is limited to specific and simple rules. Coverage-guided fuzzing blindly explores code paths or blocks, many of which are unlikely to contain logic bugs; therefore, this strategy is cost-ineffective. In this paper, we design SQLaser, a SQL-clause-guided fuzzer for detecting logic bugs in DBMSs. Through a comprehensive examination of most existing logic bugs across four distinct DBMSs,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Web Application Security Vulnerabilities · Software Testing and Debugging Techniques
