🔍 CVE-2025-66336

8.1
CVSS Score
HIGH
2026-06-22
2026-10-06 22:10
✅ 완료

🇰🇷 한글 설명

Apache Doris MCP 서버의 메타데이터 쿼리 경로에서 SQL 인젝션 취약점이 발견되었습니다. 사용자 제어 가능한 데이터베이스 이름이 SQL 쿼리에 직접 삽입되어 실행되며, 호출자의 권한 컨텍스트가 검증되지 않아 의도하지 않은 범위의 메타데이터에 접근할 수 있습니다.

💡 쉬운 설명

데이터베이스의 이름을 조작하여 원래 허용되지 않은 정보까지 몰래 훔쳐볼 수 있는 보안 약점입니다. 해커가 데이터베이스의 내부 구조나 정보를 마음대로 조회할 위험이 있습니다.

🇺🇸 원문 (English)

Apache Doris MCP Server contains a SQL injection vulnerability in a metadata query path. A user-controlled database name is directly interpolated into a SQL query, and the query is executed without passing the caller's authorization context. This may allow an authenticated attacker, or an anonymous attacker if authentication is disabled, to bypass SQL security validation and access metadata outside the intended database scope. Affected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue.

📍 영향받는 시스템

Apache Doris MCP Server (0.6.1 미만 버전)

⚔️ 공격 벡터

조작된 데이터베이스 이름을 포함한 메타데이터 쿼리 요청을 통한 SQL 인젝션

🛡️ 대응 방법

Apache Doris를 0.6.1 버전 이상으로 업그레이드하십시오.

🔧 검증 코드

출력된 버전 정보가 0.6.1 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
curl -s http://<target_ip>:<port>/version | grep -E '0\.[0-6]\.[0-6]'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

SQL Server