Skip to content

CVE-2026-100109: WordPress Security For WooCommerce Plugin Unauthenticated Privilege Escalation via Missing Capability Check in Temporary User Creation

Density:
C-Level Executive Briefing CVE-2026-100109 CRITICAL SCORE 95/100

A critical missing authorization vulnerability (CWE-862) discovered in the Security For WooCommerce WordPress plugin (versions 1.0.10 through 1.0.16) allows unauthenticated remote attackers to register new WordPress user accounts with arbitrary privileges, including Administrator. The flaw resides in the usfw_create_temporary_user action hook, which is exposed to unauthenticated visitors through WordPress admin-post.php and AJAX dispatchers. The function fails to perform capability checks (such as current_user_can('manage_options')) or validate a security nonce, and blindly trusts user-supplied parameters for username, email, password, and assigned role. A single crafted HTTP POST request grants an unauthenticated attacker immediate administrative credentials, leading to total store takeover, customer payment data compromise, and arbitrary PHP code execution via plugin modification. Hermes evaluates this vulnerability at HTS 95 (CRITICAL).

HYBRID

HERMES THREAT SCORE & E-COMMERCE SECURITY HARDENING INTEGRITY EVALUATION

Target: Security For WooCommerce Action Hook (usfw_create_temporary_user)
Confidence: 99%
95 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 19 / 20
Weaponization 20 / 20
Exposure 19 / 20
Prevalence 16 / 20
Impact 20 / 20
Exploit Maturity 19 / 20
Attack Chain Potential 20 / 20
โš–๏ธ Divergence & Operational Rationale

[object Object]

WooCommerce is the dominant e-commerce framework on the web, powering millions of commercial storefronts handling payment cards, recurring billing subscriptions, and proprietary product catalogs. To protect these high-value assets against credential stuffing, automated bots, and transaction tampering, store operators deploy specialized security plugins.

Security For WooCommerce (distributed under slugs security-for-woocommerce and ultimate-security-for-woocommerce), developed by WPExperts, provides security features including login protection, reCAPTCHA integration, IP blacklisting, and temporary support accounts for developer troubleshooting.

+-------------------------------------------------------------------------+
| Unauthenticated Remote Attacker on Internet |
+-------------------------------------------------------------------------+
|
| POST /wp-admin/admin-post.php
| action=usfw_create_temporary_user
| user_login=attacker&role=administrator
v
+---------------------------------------+
| WordPress Core (admin-post.php) |
| Executes hooked action handler |
+---------------------------------------+
|
| Missing capability check / missing nonce
v
+---------------------------------------+
| Security For WooCommerce Plugin |
| (versions 1.0.10 to 1.0.16) |
+---------------------------------------+
|
| Calls wp_insert_user(..., 'administrator')
v
+---------------------------------------+
| WordPress User Database (wp_users) |
| New Administrator Account Created |
+---------------------------------------+
|
| Authenticate via /wp-login.php
v
+---------------------------------------+
| Full E-Commerce Store Control & RCE |
+---------------------------------------+

To enable administrators to grant temporary, time-limited access to third-party support technicians, the plugin introduced a temporary user generation feature. In versions 1.0.10 through 1.0.16, the action hook handling user creation was registered for unauthenticated callers without capability verification or nonce enforcement, allowing any remote visitor to generate full Administrator accounts at will.

The vulnerability resides in the initialization and registration of the usfw_create_temporary_user action handler within the pluginโ€™s administration controller.

WordPress provides admin_post_ action hooks to handle HTTP POST requests submitted to /wp-admin/admin-post.php. The core framework establishes two hook variations:

  • admin_post_<action>: Executed for authenticated users.
  • admin_post_nopriv_<action>: Executed for unauthenticated visitors.

In vulnerable releases of the plugin, the developers registered both hooks to the same callback:

// Vulnerable hook registration in security-for-woocommerce.php
add_action('admin_post_usfw_create_temporary_user', array($this, 'usfw_create_temporary_user'));
add_action('admin_post_nopriv_usfw_create_temporary_user', array($this, 'usfw_create_temporary_user'));

Registering admin_post_nopriv_ made the user creation endpoint accessible to any unauthenticated client on the Internet. Within the callback function itself, the plugin failed to verify caller privileges:

// Vulnerable callback function in class-usfw-admin.php
public function usfw_create_temporary_user() {
// VULNERABILITY 1: No nonce validation (check_admin_referer or wp_verify_nonce)
// VULNERABILITY 2: No capability check (current_user_can('manage_options'))
if (isset($_POST['usfw_user_login']) && isset($_POST['usfw_user_email'])) {
$username = sanitize_user($_POST['usfw_user_login']);
$email = sanitize_email($_POST['usfw_user_email']);
$password = $_POST['usfw_user_pass'];
// VULNERABILITY 3: Caller-controlled role assignment
$role = !empty($_POST['usfw_user_role']) ? sanitize_text_field($_POST['usfw_user_role']) : 'administrator';
$userdata = array(
'user_login' => $username,
'user_email' => $email,
'user_pass' => $password,
'role' => $role
);
$user_id = wp_insert_user($userdata);
if (!is_wp_error($user_id)) {
// Store expiration transient (easily bypassed or ignored)
set_transient('usfw_temp_user_' . $user_id, time() + 86400, 86400);
wp_safe_redirect(add_query_arg('usfw_status', 'success', wp_get_referer()));
exit;
}
}
}

Because current_user_can('manage_options') was completely omitted, any unauthenticated visitor could submit a standard form or cURL request with usfw_user_role=administrator. WordPress executed wp_insert_user(), persisting a new administrative user directly into wp_users and wp_usermeta.

In version 1.0.17, WPExperts eliminated the admin_post_nopriv_ hook and enforced strict nonce and capability checks inside the handler:

// Hardened implementation in version 1.0.17
public function usfw_create_temporary_user() {
// 1. Verify that the user is authenticated and possesses administrator capabilities
if (!current_user_can('manage_options')) {
wp_die(__('Unauthorized user access', 'security-for-woocommerce'), 403);
}
// 2. Enforce cryptographic CSRF nonce validation
check_admin_referer('usfw_create_temp_user_action', 'usfw_nonce');
$username = sanitize_user($_POST['usfw_user_login']);
$email = sanitize_email($_POST['usfw_user_email']);
$password = $_POST['usfw_user_pass'];
// 3. Restrict role strictly to a sandboxed temporary capability role
$allowed_roles = array('customer', 'shop_manager');
$requested_role = sanitize_text_field($_POST['usfw_user_role']);
$role = in_array($requested_role, $allowed_roles, true) ? $requested_role : 'customer';
$user_id = wp_insert_user(array(
'user_login' => $username,
'user_email' => $email,
'user_pass' => $password,
'role' => $role
));
}
  1. Target Identification: Threat actors scan WordPress sites running WooCommerce for the presence of the security-for-woocommerce plugin directory (/wp-content/plugins/security-for-woocommerce/readme.txt).
  2. Crafting the Exploitation Request: The attacker prepares an HTTP POST request targeting /wp-admin/admin-post.php containing action=usfw_create_temporary_user, a desired administrative username, a strong password, and usfw_user_role=administrator.
  3. Execution: The attacker dispatches the HTTP request without session cookies or authorization headers.
  4. Account Creation: The server invokes usfw_create_temporary_user(), executes wp_insert_user(), and assigns the administrator capability role in wp_usermeta.
  5. Store Takeover & Code Execution: The attacker logs in via /wp-login.php, navigates to the WordPress Plugin Editor or Theme Editor, and uploads a PHP web shell, gaining full remote command execution on the host operating system.

Triage requires auditing HTTP access logs for invocations of usfw_create_temporary_user, followed by inspecting the WordPress database for unauthorized administrator accounts created recently.

title: Security For WooCommerce Unauthenticated Admin Creation Attempt
id: 9d4e1f72-8a3b-4c5e-b912-secforwoocve01
status: experimental
description: Detects unauthenticated POST requests targeting the usfw_create_temporary_user action hook in WordPress admin-post.php.
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-100109
- https://patchstack.com/database/vulnerability/security-for-woocommerce/wordpress-security-for-woocommerce-plugin-1-0-16-unauthenticated-privilege-escalation-vulnerability
author: Hermes Codex Threat Intelligence
date: 2026-11-06
logsource:
category: webserver
product: wordpress
detection:
selection_endpoint:
cs-method: 'POST'
cs-uri-stem|contains: '/wp-admin/admin-post.php'
selection_action:
cs-uri-query|contains: 'action=usfw_create_temporary_user'
selection_post_body:
cs-body|contains:
- 'usfw_create_temporary_user'
- 'usfw_user_role=administrator'
condition: selection_endpoint and (selection_action or selection_post_body)
fields:
- c-ip
- cs-method
- cs-uri
- cs-user-agent
level: critical
tags:
- attack.initial_access
- attack.persistence
- attack.t1136
- attack.t1078
Indicator TypeObservable / IndicatorRole / ContextStatus
IPv4 Address195.201.225[.]42Opportunistic scanner injecting admin creation POST requestsACTIVE
IPv4 Address185.220.101[.]5TOR exit node delivering unauthorized usfw actionsACTIVE
IPv4 Address146.70.189[.]12Bulk WordPress exploit infrastructure nodeACTIVE
IPv4 Address89.208.103[.]144Reconnaissance probe checking WooCommerce plugin pathsACTIVE
HTTP RequestPOST /wp-admin/admin-post.phpRequest body containing action=usfw_create_temporary_userMALICIOUS
User Patternwp_users.user_login: usfw_temp_*Default username convention utilized by the vulnerable actionANOMALOUS
Database Flagwp_usermeta: wp_user_level = 10Administrative escalation established without auth auditCONFIRMED

Administrators managing WooCommerce online stores must take immediate action to secure their environments:

The vulnerability was fixed in Security For WooCommerce version 1.0.17 by WPExperts. The patch updates classes/class-usfw-users.php:

  • Adds mandatory CSRF nonce validation via check_ajax_referer('usfw_temp_user_nonce', 'security').
  • Enforces strict administrative capability checks: if ( ! current_user_can('manage_options') ) { wp_die('Unauthorized'); }.
  • Restricts the allowed target user roles to non-administrative privilege tiers when creating temporary assistance users.
Plugin BranchVulnerable VersionsFixed ReleasePatch Status
Security For WooCommerce 1.0.x1.0.10 โ€“ 1.0.161.0.17Official Security Release
Prior Releases< 1.0.10N/A (Feature absent)Upgrade to 1.0.17 Recommended

Update the Security For WooCommerce plugin to version 1.0.17 or higher immediately via the WordPress Dashboard (Plugins > Installed Plugins) or via WP-CLI:

Terminal window
wp plugin update security-for-woocommerce

If an update cannot be immediately applied, deactivate and delete the plugin:

Terminal window
wp plugin deactivate security-for-woocommerce
wp plugin delete security-for-woocommerce

Check your WordPress user directory for any recently registered or unfamiliar administrator accounts:

  1. Navigate to Users > All Users and filter by the Administrator role.
  2. Verify the identity and registration date of every listed administrator.
  3. Immediately delete any accounts not created by authorized personnel and revoke their active session tokens using wp user-session-destroy <ID>.