🔍 CVE-2022-21673

4.3
CVSS Score
MEDIUM
2022-01-18
2026-06-17 04:26
✅ 완료

🇰🇷 한글 설명

Grafana에서 Forward OAuth Identity 기능이 활성화된 데이터 소스를 사용할 때, API 토큰만으로 쿼리를 보내면 가장 최근에 로그인한 사용자의 OAuth ID가 전달되는 취약점입니다. 이로 인해 API 토큰 보유자가 권한이 없는 데이터에 접근할 수 있는 위험이 있습니다. 이 문제는 Grafana 버전 7.5.13 및 8.3.4에서 패치되었습니다.

💡 쉬운 설명

로그인 정보 없이 API 키만 사용했는데, 시스템이 실수로 가장 최근에 접속했던 다른 사용자의 권한을 빌려주는 문제입니다. 이로 인해 권한이 없는 사람이 남의 데이터를 몰래 볼 수 있습니다.

🇺🇸 원문 (English)

Grafana is an open-source platform for monitoring and observability. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.

📍 영향받는 시스템

Grafana 7.5.13 미만 및 8.3.4 미만 버전 (Forward OAuth Identity 기능 활성화 시)

⚔️ 공격 벡터

API 토큰을 사용하여 Forward OAuth Identity가 활성화된 데이터 소스에 쿼리를 전송

🛡️ 대응 방법

Grafana를 최신 패치 버전(7.5.13 또는 8.3.4 이상)으로 업데이트

🔧 검증 코드

출력된 버전 번호가 7.5.13 또는 8.3.4보다 낮은지 확인하십시오.

Shell / Script
grafana-server --version 2>/dev/null || wget -qO- http://localhost:3000/api/health | grep -oP '"version":"\K[^"]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Verify Identity Access