PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 12, 2026Proceedings of the ACM on Programming Languages0 citationsOpen Access

Beacon: Detecting Broken Access Control Vulnerabilities in DBMSs via System Catalog Consistency Validation

View Full Paper
ZPZongrui PengJFJingzhou FuZWZ. Wu

Key Points

  • The paper aims to address broken access control vulnerabilities in database management systems by validating system catalogs.
  • Proposed Beacon tool to validate SQL operations against system catalogs.
  • Tested Beacon on eight popular DBMSs like MySQL and MariaDB.
  • Identified inconsistencies in user access privileges to uncover vulnerabilities.
  • Discovered 39 previously unknown broken access control vulnerabilities.
  • 19 vulnerabilities resulted in privilege escalation; 20 allowed unauthorized data disclosure.
  • 7 vulnerabilities persisted for over 6 years, with the longest lasting 13 years.

Abstract

Access control in DBMSs is critical for ensuring data security and integrity. However, the increasing complexity of its implementation often introduces broken access control (BAC) vulnerabilities. These vulnerabilities can lead to severe consequences, including privilege escalation, unauthorized data access, or even full compromise of the DBMS. Existing manual testing for BAC vulnerabilities is time-consuming and incomplete. Automated methods like static analysis also struggle in DBMSs, as static rules are difficult to apply to multi-level and dynamically changing privileges. In this paper, we propose Beacon, which detects BAC vulnerabilities by validating the consistency between SQL operations and system catalogs. Our key insight is that the visibility of objects in the system catalogs is consistent with the user's access control: if an object is invisible to a user in the system catalogs, the user should not have any access privileges on that. Any inconsistency suggests that a user is exceeding their privileges, indicating a potential BAC vulnerability. We used Beacon to test eight popular DBMSs (e.g., MySQL and MariaDB), uncovering 39 previously unknown BAC vulnerabilities. Among them, 19 result in privilege escalation, and 20 lead to unauthorized information disclosure.Moreover, 7 of them have existed in DBMSs for more than 6 years, with the longest-persisting one lasting 13 years. DBMS vendors took these issues seriously and have already confirmed all of these vulnerabilities. Many vendors provided positive feedback, recognizing the importance of addressing these vulnerabilities. For instance, OceanBase awarded bounties for reported vulnerabilities, underscoring Beacon's role in improving DBMS access control.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Peng et al. (2026) studied this question.

synapsesocial.com/papers/69db38534fe01fead37c68f4https://doi.org/10.1145/3798232
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Detecting Logic Bugs in DBMSs via Equivalent Data Construction2025 · 1 citations
  2. 2SRS: Detecting Logic Bugs of Join Implementation in DBMSs via Set Relation Synthesis2025 · 4 citations
  3. 3Database Systems2003 · 21 citations
  4. 4Reproduction Package for Article `Beacon: Detecting Broken Access Control Vulnerabilities in DBMSs via System Catalog Consistency Validation'2026 · 1 citations
  5. 5Survey on detecting and preventing web application broken access control attacks2023 · 5 citations