Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
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
أدوات/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.

عرض المستودع
منذ شهر واحدلم تتم المراجعة بعد
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

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 وتكنولوجيا المعلومات وصولًا آمنًا عند الطلب إلى نقاط نهاية SSH وRDP وKubernetes وقواعد البيانات وRemoteApp عبر متصفح الويب.

    448
  • 5

    looking-glass

    anonghosty/looking-glass

    منصة CSIRT تستقبل تقارير Shadowserver في MongoDB وتعيد عرضها كخرائط تفاعلية وتحليلات ونتائج وإرشادات ولوحات معلومات تنفيذية.

    414
  • 6

    SafeLine

    chaitin/safeline

    WAF مستضافة ذاتيًا ووكيل عكسي يقوم بتصفية حركة المرور HTTP الضارة، ويمنع هجمات SQL injection و XSS وهجمات البوت، مع تحديد معدل الطلبات وتشفير HTML/JS الديناميكي.

    401

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →