🔍 CVE-2026-55642

9.8
CVSS Score
CRITICAL
2026-08-20
2026-10-18 20:10
✅ 완료

🇰🇷 한글 설명

dbx-web의 auth_middleware에서 password_hash가 없는 경우 모든 보호된 요청을 통과시키는 취약점이 발견되었습니다. 공격자가 인증 없이 특정 API 경로를 호출하여 연결된 데이터베이스에 임의의 SQL을 실행하고 데이터를 유출, 수정 또는 삭제할 수 있습니다. 이 문제는 버전 0.5.51에서 수정되었습니다.

💡 쉬운 설명

비밀번호 설정이 되어 있지 않은 초기 상태에서 보안 검사를 건너뛰는 결함이 있습니다. 이를 통해 해커가 아무런 인증 없이 데이터베이스에 접속하여 정보를 훔치거나 파괴할 수 있습니다.

🇺🇸 원문 (English)

dbx is a cross-platform database client for databases. Prior to 0.5.51, dbx-web auth_middleware in crates/dbx-web/src/auth.rs passes every protected request to the handler chain when password_hash is None. A fresh deployment reaches that state when DBX_PASSWORD is unset and no stored password exists, while crates/dbx-web/src/main.rs binds the service to 0.0.0.0 on port 4224 by default. An unauthenticated network attacker can call the /api/connection/connect and /api/query/execute routes to use configured database credentials and execute arbitrary SQL, allowing disclosure, modification, or destruction of data in connected databases. The desktop Tauri application is not affected because it binds only to loopback. This issue is fixed in version 0.5.51.

📍 영향받는 시스템

dbx-web 0.5.51 미만 버전 (데스크톱 Tauri 애플리케이션 제외)

⚔️ 공격 벡터

인증되지 않은 네트워크 공격자가 0.0.0.0:4224 포트를 통해 API 경로(/api/connection/connect 등)로 직접 요청을 전송

🛡️ 대응 방법

dbx-web 버전을 0.5.51 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 0.5.51보다 낮으면 취약한 상태입니다.

Shell / Script
cargo pkgid dbx-web 2>/dev/null | grep -oE 'v[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Storage Protect Client