PT-2026-115401 · Wpcodefactory · Customer Email Verification For Woocommerce
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
The Customer Email Verification for WooCommerce plugin for WordPress is vulnerable to Privilege Escalation via the
alg wc ev verify email parameter in versions up to, and including, 3.3.0. The vulnerability exists because alg wc ev generate user code() generates the per-user activation secret using wp rand(100) when the plugin's 'Encoding method' is set to 'hashids', producing only ~101 possible values (~7 bits of entropy); the resulting token is a reversible Hashids encoding with no cryptographic MAC, and the unauthenticated verify() handler — hooked to init at PHP INT MAX with no nonce check and no rate limiting — accepts and acts on the attacker-controlled ?alg wc ev verify email= GET parameter directly. This makes it possible for unauthenticated attackers to gain authentication as any unverified WordPress account, including administrator-level accounts, by brute-forcing the trivially small activation code space via a forged verification URL. Exploitation requires that the 'Encoding method' setting be changed to 'hashids' (non-default), that the attacker recover or brute-force the Hashids salt (which defaults to an md5(time()) value set at first initialization), and that the target account's email address remain unverified.Fix
Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Customer Email Verification For Woocommerce