🔍 CVE-2026-61742

0.0
CVSS Score
UNKNOWN
2026-09-24
2026-09-30 17:32
✅ 완료

🇰🇷 한글 설명

DBHub의 HTTP 전송 모드에서 DNS Rebinding 공격을 통해 인증 없이 MCP 엔드포인트에 접근할 수 있는 취약점이 발견되었습니다. 공격자는 이를 통해 사용자의 브라우저에서 DBHub MCP 도구를 임의로 호출하여 데이터베이스 내용을 읽거나 쓸 수 있습니다. 버전 0.22.5에서 이 문제가 해결되었습니다.

💡 쉬운 설명

해커가 만든 웹사이트에 접속하는 것만으로도, 사용자의 컴퓨터에 설치된 데이터베이스 관리 도구를 몰래 조작할 수 있는 보안 구멍입니다. 이를 통해 데이터베이스의 중요한 정보를 훔치거나 내용을 마음대로 바꿀 수 있습니다.

🇺🇸 원문 (English)

DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Versions prior to 0.22.5 expose an unauthenticated HTTP MCP endpoint when started with the documented HTTP transport mode, for example `--transport http --port 8080`. The HTTP server attempts to protect browser-origin access by checking whether the `Origin` hostname equals the `Host` hostname, then reflecting the validated `Origin` into `Access-Control-Allow-Origin`. This does not stop DNS rebinding. After an attacker-controlled hostname rebinds to a victim-accessible DBHub HTTP server, both `Origin` and `Host` can contain the attacker-controlled hostname, so DBHub accepts the request and dispatches MCP tool calls. As a result, a malicious website can deterministically invoke DBHub MCP tools from the victim's browser without prompt injection or model involvement. With the default demo configuration this can read and write the demo SQLite database; with a real configured database, the same primitive can read, enumerate, and potentially write database contents depending on DBHub's configured tool permissions and database credentials. Version 0.22.5 fixes the issue.

📍 영향받는 시스템

DBHub 0.22.5 미만 버전 (HTTP 전송 모드 사용 시)

⚔️ 공격 벡터

DNS Rebinding을 이용한 브라우저 기반의 인증 우회 및 MCP 도구 호출

🛡️ 대응 방법

DBHub를 최신 버전인 0.22.5 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 0.22.5 미만의 버전 번호가 출력되면 취약한 버전이 설치된 상태입니다.

Shell / Script
dbhub --version 2>/dev/null | grep -E '0\.(?!22\.5)'

💻 영향받는 소프트웨어

MariaDB