<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Bytebase - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/bytebase/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 24 Sep 2026 20:03:55 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/bytebase/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>DNS Rebinding Vulnerability in DBHub HTTP Transport</title><link>https://feed.craftedsignal.io/briefs/2026-09-dbhub-dns-rebind/</link><pubDate>Thu, 24 Sep 2026 20:03:55 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-dbhub-dns-rebind/</guid><description>DBHub 0.21.2 fails to securely validate hostnames in its HTTP transport mode, allowing attackers to use DNS rebinding to execute arbitrary SQL queries via a victim's browser.</description><content:encoded><![CDATA[<p>DBHub version 0.21.2, when deployed using the <code>--transport http</code> configuration, contains a critical flaw in its DNS rebinding protection mechanism. The server attempts to prevent unauthorized cross-origin requests by validating that the <code>Origin</code> header matches the <code>Host</code> header. However, this check is insufficient as it does not enforce a whitelist of trusted hostnames. An attacker can perform a DNS rebinding attack to cause a victim's browser to resolve an attacker-controlled domain to the IP address where DBHub is running. Because both the <code>Host</code> and <code>Origin</code> headers in the rebind request will match the attacker-controlled hostname, the server erroneously trusts the request. This allows an attacker to interact with the <code>/mcp</code> endpoint and dispatch JSON-RPC tool calls, such as <code>execute_sql</code>, directly from the victim's browser. This vulnerability bypasses traditional local network boundaries and does not require authentication, potentially exposing sensitive database contents to exfiltration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker registers a domain (e.g., dbhub-rebind.example) and configures an authoritative DNS server to provide a short Time-To-Live (TTL).</li>
<li>Victim is lured to an attacker-controlled website hosted at the attacker's domain, which resolves initially to an attacker-controlled web server.</li>
<li>Attacker's web server delivers malicious JavaScript to the victim's browser.</li>
<li>Attacker updates the DNS record for their domain to point to the victim's internal loopback or local network IP where DBHub is running.</li>
<li>The malicious JavaScript triggers a cross-origin HTTP request to the DBHub server at the attacker's domain (e.g., dbhub-rebind.example:8080).</li>
<li>DBHub's middleware extracts the <code>Host</code> and <code>Origin</code> headers, finds they match the attacker's domain, and validates the request as authorized.</li>
<li>DBHub dispatches the JSON-RPC command, executing arbitrary SQL queries on the connected database.</li>
<li>Attacker receives query results from the JSON-RPC response via the browser's ability to read the reflected origin, completing the exfiltration.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows unauthenticated execution of SQL queries on databases connected to a DBHub instance. Depending on the server's configured permissions, an attacker can enumerate schemas, read sensitive database contents, and perform write operations. As the interaction occurs through the victim's browser, the attacker can exfiltrate data without needing direct network access to the target machine or bypassing local firewall rules, significantly impacting organizations using DBHub for local database management.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritized actions for security teams:</p>
<ul>
<li>Immediately audit all DBHub deployments to identify instances using the <code>--transport http</code> configuration.</li>
<li>Bind DBHub instances to <code>127.0.0.1</code> rather than <code>0.0.0.0</code> to restrict network accessibility.</li>
<li>Implement an explicit allowed-hosts and allowed-origins policy in local infrastructure proxies if DBHub must be exposed.</li>
<li>Require a static authentication token for all <code>/mcp</code> requests, independent of the HTTP transport's origin validation.</li>
<li>Restrict the <code>execute_sql</code> tool permissions to read-only for production database connections where possible.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>web-vulnerability</category><category>dns-rebinding</category><category>database-security</category><category>vulnerability</category><category>rce</category></item></channel></rss>