WordPress security changelog
HIGH CVE-2023-2781 Modified

User Email Verification for WooCommerce: Privilege escalation or authentication bypass

User Email Verification for WooCommerce is affected by privilege escalation or authentication bypass. The vulnerable path is reachable without authentication. A successful request can grant permissions or access that the caller should not possess.

CVE / CNA score 8.1 CVSS 3.1 · security@wordfence.com
NVD score 9.8 CVSS 3.1 · nvd@nist.gov
Component
User Email Verification for WooCommerce
Plugin slug
woo-confirmation-email
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jun 03, 2023
Weakness
CWE-288 — Authentication Bypass Using an Alternate Path or Channel
CWE-306 — Missing Authentication for Critical Function

This CVE was published Jun 03, 2023 and is one of 3 known issues for this plugin.

Update, patch or deactivate.

Update User Email Verification for WooCommerce to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The User Email Verification for WooCommerce plugin for WordPress is vulnerable to authentication bypass via authenticate_user_by_email in versions up to, and including, 3.5.0. This is due to a random token generation weakness in the resend_verification_email function. This allows unauthenticated attackers to impersonate users and trigger an email address verification for arbitrary accounts, including administrative accounts, and automatically be logged in as that user, including any site administrators. This requires the Allow Automatic Login After Successful Verification setting to be enabled, which it is not by default.

CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources