Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
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. | Kitploit
Tools/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.

View Repository
1 month agoNot yet reviewed
Share

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.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    897
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    853
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    448
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    417
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    400

Explore all tools

Browse our collection of tools

View all tools →