(0Day) Bytebase DBHub MCP Incorrect Authorization Authentication Bypass Vulnerability
The MCP server in Bytebase DBHub makes an incorrect authorization decision when parsing untrusted SQL, allowing a remote attacker to bypass authentication. No authentication is required to exploit the vulnerability.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of Bytebase DBHub. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the MCP server does not properly validate authorization when it processes SQL input, so it treats untrusted queries as if they came from an authenticated user.
Impact
A remote attacker could bypass authentication and interact with the system without credentials; the only suggested mitigation is to restrict access to the product.
What the attacker needed
Network access to the MCP server
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a flaw in Bytebase DBHub's MCP server. It checks permissions incorrectly when handling SQL, so someone on the network can bypass authentication.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.