CVE-2023-2781 User Email Verification for WooCommerce <= 3.5.0 - Authentication Bypass

High 8.1 Published Updated

Unauthenticated attackers can bypass authentication and log in as any user, including administrators, if automatic login after verification is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-2781?

CVE-2023-2781 is a high-severity authentication bypass vulnerability in sandeepsoni214 User Email Verification for WooCommerce, published on 2 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-306, CWE-288

Which versions are affected by CVE-2023-2781?

It affects 1 product.

Products include Wisetr User Email Verification for Woocommerce.

How do I fix CVE-2023-2781?

No fix has been published for CVE-2023-2781 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-2781 being exploited?

There is no known exploitation of CVE-2023-2781 in the wild and no public exploit code.

Sources

Also known as GHSA-2h84-2j8q-rcf8.

Is CVE-2023-2781 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free