Impact
The Automation Web Platform – Notifications and OTP for WooCommerce, Advanced Country Code plugin is vulnerable to privilege escalation in all releases up to 4.8.6. The flaw is caused by missing permission checks on the REST endpoint POST /wp-json/wawp/v1/signup/<op> and by the finish_registration_logic function accepting the wawp_custom_fields parameter without filtering. The attacker can inject meta keys such as wp_capabilities and wp_user_level into update_user_meta, enabling the creation of an account with administrator privileges. Additionally, when OTP verification is enabled the OTP session token is returned in plaintext and any GET request containing that token marks it as verified without checking the OTP code, effectively bypassing the second factor and allowing unauthenticated users to activate an OTP session without inbox or SMS access.
Affected Systems
The affected product is the Automation Web Platform – Notifications and OTP for WooCommerce, Advanced Country Code plugin supplied by 101gen for WordPress websites. All plugin versions up to and including 4.8.6 are impacted; newer releases are presumed to contain the fix. The vulnerability is reported for WordPress sites that have the plugin installed and enabled.
Risk and Exploitability
The CVSS base score is 9.8, indicating critical severity, and the EPSS score is not available. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is an unauthenticated remote client targeting the publicly exposed REST route. The attacker needs only to send standard HTTP traffic; no special network privileges are required. Exploitation involves sending a crafted POST request to inject arbitrary user meta or retrieving the OTP session token from the response and making an unauthenticated GET request that contains the token to bypass OTP verification, thereby gaining full administrative access to the site.
OpenCVE Enrichment