kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-39226 Snapshot authentication bypass in grafana

Grafana에서 스냅샷 인증 바이패스

실제 악용 확인(KEV)

설명

Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.

Grafana는 오픈 소스 데이터 시각화 플랫폼입니다. 영향을 받는 버전에서 인증되지 않은 사용자는 리터럴 경로인 /dashboard/snapshot/:key 또는 /api/snapshots/:key에 액세스하여 가장 낮은 데이터베이스 키로 스냅샷을 볼 수 있습니다. 스냅샷 "public_mode" 구성 설정이 true(false의 기본값 대)로 설정되면 인증되지 않은 사용자는 다음 리터럴 경로에 액세스하여 가장 낮은 데이터베이스 키로 스냅샷을 삭제할 수 있습니다. /api/snapshots-delete/:deleteKey. 스냅샷 "public_mode" 설정과 관계없이 인증된 사용자는 /api/snapshots/:key 또는 /api/snapshots-delete/:deleteKey와 같은 리터럴 경로에 액세스하여 가장 낮은 데이터베이스 키로 스냅샷을 삭제할 수 있습니다. 삭제 및 보기의 조합은 모든 스냅샷 데이터를 완전히 걸어다니면서 스냅샷 데이터를 완전히 손실시킬 수 있습니다. 이 문제는 버전 8.1.6 및 7.5.11에서 해결되었습니다. 어떤 이유로 업그레이드할 수 없는 경우 역방향 프록시를 사용하거나 문자 그대로의 경로에 대한 액세스를 차단하는 것과 유사합니다: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, /api/snapshots/:key. 그들은 정상적인 기능이 없으며 부작용없이 비활성화 할 수 있습니다.

영향 받는 제품 제품 1개

  • grafana

    grafana

    해결 버전 있음

    영향 받는 버전

    • 8.0.0 이상 8.1.6 미만
    • 7.5.11 미만

    해결 버전

    • 8.1.6 이상
    • 7.5.11 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의