🇰🇷 한글 설명
Metabase의 특정 버전에서 H2 데이터 소스를 대상으로 하는 네이티브 쿼리 및 액션 시 호스트 기반 내장 함수에 대한 제한이 없습니다. 권한이 있는 사용자가 FILE_READ, FILE_WRITE 등의 함수를 사용하여 서버의 임의 파일을 읽거나 쓸 수 있으며, 기본 샘플 데이터베이스가 H2를 사용하므로 취약점에 노출될 위험이 큽니다.
💡 쉬운 설명
데이터 분석 도구인 Metabase에서 권한이 있는 사용자가 서버의 파일을 마음대로 읽거나 수정할 수 있는 보안 결함이 발견되었습니다. 기본 설정 상태에서도 공격자가 서버 내부의 중요한 정보를 빼내거나 파일을 조작할 수 있어 위험합니다.
🇺🇸 원문 (English)
Metabase is an open source business intelligence and analytics platform. From 1.55.0 until 1.58.16, 1.59.13, 1.60.9, and 1.61.4, native queries and actions against an H2 data source are passed through without restricting host-facing built-in functions. A user authorized to run native queries or actions can invoke FILE_READ, FILE_WRITE, CSVREAD, CSVWRITE, or LINK_SCHEMA to read or write arbitrary files on the Metabase server or link other databases. The default sample database uses H2, so the vulnerable surface is exposed by default. This issue is fixed in versions 1.58.16, 1.59.13, 1.60.9, and 1.61.4.
📍 영향받는 시스템
Metabase 1.55.0 ~ 1.58.15, 1.59.0 ~ 1.59.12, 1.60.0 ~ 1.60.8, 1.61.0 ~ 1.61.3
⚔️ 공격 벡터
네이티브 쿼리 실행 권한을 가진 사용자가 H2 내장 함수(FILE_READ, FILE_WRITE 등)를 호출하여 공격
🛡️ 대응 방법
Metabase를 최신 보안 패치 버전(1.58.16, 1.59.13, 1.60.9, 1.61.4 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 취약한 버전 범위에 포함되는지 확인하십시오.
curl -s http://localhost:3000/api/health | grep -oP '(?<=version":")[^"]+'