CVE Professor — Güvenlik Açığı Takip & Analiz
›
CVE-2026-49845

CWE-94

KRİTİK CVSS 9.8 ⚡ EPSS 0.9% NVD

SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platforms allows authenticated users with access to Hive Metastore APIs to read, modify, or affect unintended partition metadata (including statistics updates, truncation targets, and file-metadata cache operations) via crafted partition names in metastore RPC requests when direct SQL is enabled (the default). Users are recommended to upgrade to version 4.2.1, which fixes this issue. Details about the issue: Several Hive Metastore RPCs resolve partitions by full partition name (PART_NAME) through direct-SQL helpers. In those paths, client-supplied partition names are embedded into SQL using string concatenation (DirectSqlUpdatePart.quoteString() → '...') instead of bind parameters. A partition name containing a single quote (and crafted SQL) can alter the generated WHERE clause so that lookups intended for one partition match additional rows. That can affect reads, stats updates, truncate targets, metadata-cache targets, and related operations when metastore.try.direct.sql is enabled (default: true). An authenticated or network-trusted caller with the ability to invoke Hive Metastore partition-name APIs against a target table (directly or via Hive/other clients), when direct SQL is enabled can perform this attack. Also, the impact is mainly within table & partition targeting (read/update/truncate/drop/cache the wrong partitions in a table they can reference), not arbitrary cross-database access via this bug alone.

Yayınlanma 25.08.2026
ISO Tarih 2026-08-25
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Olasılık Skoru
0.9%
30 günlük olasılık
Tüm CVElerin 60. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-49845
CVSS 9.8/10 · KRİTİK · 25.08.2026
CWE: CWE-94
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 AÇIK NEDİR?
SQL Injection (SQLi)
Açıklama: SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platforms allows authenticated users with access to Hive Metastore APIs to read, modify, or affect unintended partition metadata (including statistics updates, truncation targets, and file-metadata cache operations) via crafted partition names in metastore RPC requests when direct SQL is enab…
Etkilenen: apache:hive

⚡ SALDIRI ZİNCİRİ
Saldırı adımları:
1. Hedef uygulamada kullanıcı girdisinin doğrudan SQL sorgusuna dahil edildiği parametre tespit edilir (URL parametresi, form alanı, HTTP başlığı).
2. Temel enjeksiyon testi: ' OR '1'='1 ile hata veya anormal davranış aranır.
3. Boolean-based blind SQLi ile veri okunur: ' AND SUBSTRING(password,1,1)='a
4. Time-based blind ile sunucu geciktirilir: '; WAITFOR DELAY '0:0:5'--
5. UNION-based ile tablo yapısı ve veri çekilir: ' UNION SELECT table_name,null FROM information_schema.tables--
6. Araç: sqlmap -u 'URL' --dbs --dump --level=5 --risk=3
7. Erişim sağlanınca: DB dump, admin şifresi kırma, webshell yükleme (INTO OUTFILE).

🔧 Araçlar: sqlmap, Burp Suite (Intruder), manual
🗺️ MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1078 (Valid Accounts)

🌍 GERÇEK DÜNYA ETKİSİ
Tüm gizli veriler okunabilir/çalınabilir; sistem verileri değiştirilebilir/silinebilir; hizmet tamamen devre dışı bırakılabilir.

🛡️ ÇÖZÜM VE MİTİGASYON
→ apache:hive için üretici güvenlik güncellemesini uygula.
→ Prepared statement ve parameterized query kullan.
→ Yama öncesi: servis erişimini VPN arkasına al veya IP whitelist uygula.
→ WAF kuralı ekle, anormal trafik için IDS alert oluştur.

⚠️ ACİLİYET
🚨 HEMEN (24-48 saat) — Uzaktan, kimlik doğrulamasız, düşük karmaşıklık.

────────────────────────────────────────
[Kural Tabanlı Analiz] [💡 config.json dosyasına ai_key (Claude: sk-ant-... veya Groq: gsk_...) ekleyerek gerçek AI analizi kullanabilirsiniz]

[⚠️ AI key mevcut ancak istek başarısız — kural tabanlı analiz kullanıldı]

Hedef Keşif Sorguları

FOFA Sorgusu

app="apache hive"
CVSS Skoru
9.8 / 10 · CVSS KRİTİK
Zayıflık Türleri (CWE)
CWE-94
Etkilenen Ürünler (1)
apache:hive (4.2.0)
Referanslar (4)
github.com patch
lists.apache.org advisory
İlgili CVE'ler
10.0
CVE-2026-78287
Improper Control of Generation of Code ('Code Injection') vulnerability in Staggs STAGGS staggs allows Remote
10.0
CVE-2026-115252
The Confection WordPress Cable WordPress plugin from 0.4.0 to 0.4.7 does not perform any capability or nonce c
10.0
CVE-2026-120338
Prefab UI's Generative UI sandbox runs caller-supplied Python inside Pyodide, Python compiled to WebAssembly,
10.0
CVE-2026-61991
Unauthenticated Remote Code Execution (RCE) in AjaxLoadMore Cache <= 3.1.1 versions.
10.0
CVE-2026-61564
AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated installer endpoint `install/checkConfi