WPC Shop as a Customer for WooCommerce: Privilege escalation or authentication bypass
WPC Shop as a Customer for WooCommerce is affected by privilege escalation or authentication bypass. Exploitation requires at least subscriber-level access. A successful request can grant permissions or access that the caller should not possess.
- Component
- WPC Shop as a Customer for WooCommerce
- Plugin slug
wpc-shop-as-a-customer-for-woocommerce- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Dec 18, 2024
This CVE was published Dec 18, 2024 and is one of 2 known issues for this plugin.
Update, patch or deactivate.
Update WPC Shop as a Customer 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 WPC Shop as a Customer for WooCommerce plugin for WordPress is vulnerable to account takeover and privilege escalation in all versions up to, and including, 1.2.8. This is due to the 'generate_key' function not producing a sufficiently random value. This makes it possible for authenticated attackers, with Subscriber-level access and above, to log in as site administrators, granted they have triggered the ajax_login() function which generates a unique key that can be used to log in.
CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H