Snapshot authentication bypass in grafana
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.
- BDU:2023-01019
- GHSA-69j6-29vr-p3j9
- openSUSE-SU-2022:0140-1
- openSUSE-SU-2024:11651-1
- RHSA-2021:3769
- RHSA-2021:3770
- RHSA-2021:3771
- RLSA-2021:3771
- SUSE-FU-2022:1419-1
- SUSE-SU-2022:0138-1
- SUSE-SU-2022:0139-1
- SUSE-SU-2022:1396-1
- SUSE-SU-2022:2134-1
- SUSE-SU-2022:3338-1
- SUSE-SU-2022:3339-1
- SUSE-SU-2022:3425-1
- SUSE-SU-2024:0191-1
- Yayın
- 5 Eki 2021
- Güncelleme
- 17 Haz 2026
- EPSS
- %99,9 · 100. yüzdelik
- CWE
- CWE-287
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
89
Hemen
Bugün yamayın ya da erişimi kapatın.
- CVSS
- 29 / 40 · 7.3 / 10
- CISA KEV
- 30 / 30 · Listede
- EPSS
- 30 / 30 · %99,9
CISA SSVC kararı
- Sömürü
- aktif
- Otomatikleştirilebilir
- evet
- Teknik etki
- tam
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- 7,3
- CNA · GitHub_M
- 9,8
- 2,5 puan fark
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Sahada aktif sömürülüyor
CISA bu zafiyeti 25 Ağu 2022 tarihinde fiilen sömürülen zafiyetler kataloğuna (KEV) ekledi. Bu, teoriyi değil, gerçek saldırıları işaret eder.
Kamu kurumları için son yama tarihi: 15 Eyl 2022.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| grafana | grafana | cpe:2.3:a:grafana:grafana |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.
- fedoraproject fedora34
- fedoraproject fedora35
- grafana grafana7.5.11 öncesi
- grafana grafana8.0.0 ve sonrası · 8.1.6 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (GitHub_M) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
grafana grafana
- >= 8.0.0, < 8.1.6, < 7.5.11etkilenir
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Go | github.com/grafana/grafana | 8.0.0 itibarıyla · 8.1.6 öncesi | 8.1.6 |
| Go | github.com/grafana/grafana | 7.5.11 öncesi | 7.5.11 |
| openSUSE:Leap 15.3 | grafana | 7.5.12-3.18.1 öncesi | 7.5.12-3.18.1 |
| openSUSE:Leap 15.3 | grafana | 8.3.5-150200.3.21.1 öncesi | 8.3.5-150200.3.21.1 |
| openSUSE:Tumbleweed | grafana | 7.5.11-3.1 öncesi | 7.5.11-3.1 |
| Red Hat:enterprise_linux:8::appstream | grafana | 0:7.3.6-3.el8_4 öncesi | 0:7.3.6-3.el8_4 |
| Red Hat:enterprise_linux:8::appstream | grafana-debuginfo | 0:7.3.6-3.el8_4 öncesi | 0:7.3.6-3.el8_4 |
| Red Hat:rhel_eus:8.1::appstream | grafana | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-azure-monitor | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-cloudwatch | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-debuginfo | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-elasticsearch | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-graphite | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-influxdb | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-loki | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-mssql | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-mysql | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-opentsdb | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-postgres | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-prometheus | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | grafana-stackdriver | 0:6.2.2-7.el8_1 öncesi | 0:6.2.2-7.el8_1 |
| Red Hat:rhel_eus:8.2::appstream | grafana | 0:6.3.6-3.el8_2 öncesi | 0:6.3.6-3.el8_2 |
| Red Hat:rhel_eus:8.2::appstream | grafana-azure-monitor | 0:6.3.6-3.el8_2 öncesi | 0:6.3.6-3.el8_2 |
| Red Hat:rhel_eus:8.2::appstream | grafana-cloudwatch | 0:6.3.6-3.el8_2 öncesi | 0:6.3.6-3.el8_2 |
+96
Aynı üründe
grafana: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2021-43798Grafana path traversalKEV87Hemen
- CVE-2024-9264Grafana SQL Expressions allow for remote code execution65Bu hafta
- CVE-2020-13379The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue.62Bu hafta
- CVE-2018-15727Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember 58Planlayın
- CVE-2022-31097Stored XSS in Grafana's Unified Alerting55Planlayın
- CVE-2022-26148An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix.55Planlayın
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| Go:github.com/grafana/grafana | 7.5.11 | Paket deposu (OSV) |
| Go:github.com/grafana/grafana | 8.1.6 | Paket deposu (OSV) |
| openSUSE:grafana | 8.3.5-150200.3.21.1 · openSUSE:Leap 15.3 | Paket deposu (OSV) |
| Red Hat:grafana | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-azure-monitor | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-cloudwatch | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-debuginfo | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-elasticsearch | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-graphite | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-influxdb | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-loki | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-mssql | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-mysql | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-opentsdb | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Red Hat:grafana-postgres | 0:6.2.2-7.el8_1 · Red Hat:rhel_eus:8.1::appstream | Paket deposu (OSV) |
| Rocky Linux:grafana | 0:7.3.6-3.el8_4 · Rocky Linux:8 | Paket deposu (OSV) |
| SUSE:grafana | 7.5.12-1.27.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| SUSE:grafana | 8.3.5-150000.1.30.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:mgr-cfg | 4.2.8-150000.1.24.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:mgr-osad | 4.2.8-150000.1.36.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:mgr-push | 4.2.5-150000.1.18.2 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:mgr-virtualization | 4.2.4-150000.1.26.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:prometheus-postgres_exporter | 0.10.0-150000.1.3.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:rhnlib | 4.2.6-150000.3.34.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:spacecmd | 4.2.16-150000.3.77.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:spacewalk-client-tools | 4.2.18-150000.3.59.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:spacewalk-koan | 4.2.6-150000.3.27.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:spacewalk-oscap | 4.2.4-150000.3.18.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| SUSE:suseRegisterInfo | 4.2.6-150000.3.21.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
İstismar durumu
Silahlaştırılmış
Bu zafiyet için hazır bir istismar aracı ya da sahada aktif kullanım biliniyor. Önceliğiniz en üst düzeyde olmalı.
Kanıt
- Nuclei tespit şablonu ×1
Noroxi istismar kodu barındırmaz ve istismar bağlantısı vermez. Metasploit modül adı ve Nuclei şablon kimliği gösterilir (kod değil, ad); Exploit-DB kayıtları ve PoC depoları yalnızca sayı olarak verilir.
| Kaynak | Tür | Tarih |
|---|---|---|
| Nuclei tespit şablonu | Nuclei şablonu CVE-2021-39226 | — |
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
- Yayın
- CISA KEV+323 gün
- Bugün29 Eyl 2026+1820 gün
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
CNA kaydında kredi yok.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
—
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
- CVE-2021-4381366 gün araylaDirectory Traversal in Grafana34İzleyin
- CVE-2021-4381566 gün araylaGrafana directory traversal for `.cvs` files18İzleyin
Bug bounty kapsamı
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · yalnızca bildirim (VDP) · grafana/grafana
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · yalnızca bildirim (VDP)
Ürünün üreticisi herkese açık bir programda görünüyor. Eşleşme ad üzerinden yapıldı; kapsam metnini programda doğrulayın.
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- düşük · veriler okunabilir
- Bütünlük
- düşük · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- düşük · hizmet durdurulabilir
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Düşük
- Bütünlük etkisi
- Düşük
- Erişilebilirlik etkisi
- Düşük
Zayıflık sınıfı (CWE)
CWE-287 · Improper AuthenticationCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvd-primary
Kök neden
Kimlik doğrulama tek bir merkezden değil, yol yol ekleniyor. Sonradan eklenen bir yol ortak ara katmanı atladığında, oturum kontrolü o yol için hiç çalışmaz.
Hatanın kod karşılığı
CWE-287 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
app.use("/admin", requireSession, adminRouter);
// Sonradan eklenen yol, ara katmanı atlıyorapp.post("/admin-api/config", updateConfig);Düzeltilmiş
const admin = express.Router();admin.use(requireSession, requireRole("admin"));
admin.post("/config", updateConfig);app.use("/admin", admin);Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Saldırı desenleri (CAPEC)
- Authentication AbuseCAPEC-114Medium
- Authentication BypassCAPEC-115Medium
- Identity SpoofingCAPEC-151olasılık: Medium · Medium
- Fake the Source of DataCAPEC-194Medium
- Exploiting Trust in ClientCAPEC-22olasılık: High · High
- Utilizing REST's Trust in the System Resource to Obtain Sensitive DataCAPEC-57olasılık: Medium · Very High
- Session HijackingCAPEC-593olasılık: High · Very High
- Token ImpersonationCAPEC-633Medium
ATT&CK teknikleri
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyinDeğişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- www.openwall.com/lists/oss-security/2021/10/05/4
- github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269
- grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-11/
- grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCKBFUSY6V4VU5AQUYWKISREZX5NLQJT/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6ANHRDBXQT6TURLP2THM26ZPDINFBEG/
- security.netapp.com/advisory/ntap-20211029-0008/
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39226
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.