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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ツール/GitHubGitHub/mrjhaxcore/cve-2026-104748
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubmrjhaxcore/cve-2026-104748

CVE-2026-104748

Python PoC for CVE-2026-104748: unauthenticated privilege escalation in the SimpleForm WordPress plugin via wp_capabilities injection, with version recon, nonce harvesting, and admin verification.

リポジトリを見る
1ヶ月前未レビュー
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2026-104748 — Unauthenticated Privilege Escalation in SimpleForm WordPress Plugin

Vulnerability Report

1. Summary

FieldValue
CVE IDCVE-2026-104748
Vulnerability TypeUnauthenticated Privilege Escalation (CWE-269)
Affected ComponentSimpleForm WordPress Plugin
Affected Versions<= 3.9.9
Attack VectorNetwork (AV:N)
Authentication RequiredNone (PR:N)
User InteractionNone (UI:N)
ImpactFull site takeover via rogue administrator account
Exploit MaturityProof-of-Concept available
SeverityCritical

2. Description

The SimpleForm WordPress plugin registers an unauthenticated AJAX handler: wp_ajax_nopriv_simpleform_wp_register. During registration, the plugin passes the entire $_POST superglobal through save_custom_fields_to_user_meta(). This function relies on an incomplete blocklist to filter which fields may be written as user meta. Because wp_capabilities is not blocked, an attacker can inject wp_capabilities[administrator]=1 directly into the registration request. The plugin then calls update_user_meta() with this attacker-controlled key, granting the newly created account full administrator privileges. Two additional weaknesses compound the issue: (1) get_form_settings() ignores its $form_id parameter and unconditionally enables meta writing — so any form ID works. (2) The shared nonce is publicly emitted into front_end_data on every front-end page, meaning an unauthenticated attacker can harvest a valid nonce without any prior access. The result is a fully unauthenticated remote privilege escalation — an attacker can self-register as an administrator and take over the WordPress installation.

3. Affected Code Path

AJAX action: wp_ajax_nopriv_simpleform_wp_register → save_custom_fields_to_user_meta() → iterates $_POST → incomplete blocklist (wp_capabilities NOT filtered) → update_user_meta( $user_id, 'wp_capabilities', [ 'administrator' => 1 ] ) → Privilege Escalation → Administrator

4. Proof of Concept (PoC)

The PoC script CVE-2026-104748.py performs a four-phase attack: (1) Recon — fetches /wp-content/plugins/simple-form/readme.txt and parses Stable tag: to confirm version <= 3.9.9. (2) Nonce Harvest — scrapes a front-end page (cache-busted) and extracts the shared nonce using multiple regex patterns. (3) Exploit — POSTs to admin-ajax.php with action=simpleform_wp_register and the injected wp_capabilities[administrator]=1 parameter, probing candidate nonce field names. (4) Verify — requests /wp-admin/ with the same session to confirm admin dashboard access.

Usage: python3 CVE-2026-104748.py -u https://target.example.com -pg / --debug

Key payload: POST /wp-admin/admin-ajax.php with Content-Type: application/x-www-form-urlencoded and body: action=simpleform_wp_register&nonce=<harvested_nonce>&form_id=1&username=audit_&[email protected]&password=&confirm_password=&wp_capabilities[administrator]=1

Expected success indicators: response contains "success":true; /wp-admin/ returns the dashboard (no redirect to wp-login.php); marker Dashboard present in response body.

5. Impact

A successful exploit allows an unauthenticated attacker to create a rogue administrator account on the target site, fully compromise the WordPress installation (themes, plugins, posts, users), achieve Remote Code Execution (RCE) via the theme/plugin editor or malicious plugin upload, pivot to the underlying web server and internal network, persist access, and exfiltrate sensitive data (PII, credentials, secrets). Given the low complexity and lack of prerequisites, this is a critical-severity issue.

6. CVSS v3.1 Score

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H — Base Score: 9.8 (Critical). Attack Vector Network (exploitable over HTTP/S), Attack Complexity Low (no special conditions), Privileges Required None (unauthenticated), User Interaction None (no victim action needed), Scope Unchanged (WordPress context), Confidentiality High (full site data access), Integrity High (full site modification), Availability High (full site control).

7. Remediation

Immediate actions for site owners: (1) Disable or remove the SimpleForm plugin until a patched version is available. (2) If the plugin is business-critical, apply a WAF rule blocking POST requests to admin-ajax.php where the body contains wp_capabilities. (3) Audit existing users for unauthorized administrator accounts (audit_* accounts created via this exploit). (4) Rotate all WordPress salts/keys and administrator credentials.

Recommended vendor fix: In save_custom_fields_to_user_meta(), replace the blocklist with a strict allowlist. Define $allowed_meta_keys = ['first_name','last_name','nickname','description', ...only explicitly permitted fields]; then foreach ( $_POST as $key => $value ) { if ( ! in_array( $key, $allowed_meta_keys, true ) ) { continue; } update_user_meta( $user_id, sanitize_key( $key ), sanitize_text_field( $value ) ); }

Additional hardening: never pass $POST directly to update_user_meta(); explicitly block all wp* and _capabilities/_roles keys; enforce capability checks on the registration handler; tie the nonce to a specific action/user context rather than emitting a shared nonce on every page.

8. Timeline

2026-XX-XX Vulnerability discovered / PoC developed; 2026-XX-XX Vendor notified; 2026-XX-XX CVE-2026-104748 assigned; 2026-XX-XX Public disclosure.

9. References

CWE-269: Improper Privilege Management; WordPress Codex: update_user_meta(); WordPress Codex: wp_ajax_nopriv_* hooks; SimpleForm plugin repository.

10. Disclaimer

This report and the accompanying PoC are provided for authorized security testing and educational purposes only. Do not use against systems you do not own or have explicit written permission to test. Unauthorized use may violate local, national, and international law. The author assumes no liability for misuse or damage caused by this material.

ツールをダウンロード

人気

すべて見る →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    901
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    861
  • 3

    wifit3

    derv82/wifit3

    Wifite だが、USB のみ対応でクロスプラットフォーム

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServerは、オープンソースの特権アクセス管理(PAM)プラットフォームであり、DevOps および IT チームに対し、Webブラウザを介してSSH、RDP、Kubernetes、データベース、RemoteAppエンドポイントへのオンデマンドで安全なアクセスを提供します。

    448
  • 5

    looking-glass

    anonghosty/looking-glass

    ShadowserverレポートをMongoDBに取り込み、インタラクティブなマップ、分析、調査結果、アドバイザリ、エグゼクティブダッシュボードとして再生するCSIRTプラットフォーム。

    414
  • 6

    SafeLine

    chaitin/safeline

    セルフホスト型のWAFおよびリバースプロキシで、悪意のあるHTTPトラフィックをフィルタリングし、SQLインジェクション、XSS、ボット攻撃をブロックします。また、レート制限と動的なHTML/JS暗号化機能を備えています。

    401

すべてのツールを探索

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

すべてのツールを見る →