Description
The WPshop 2 – E-Commerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions 2.0.0 to 2.6.0 via the callback_generate_api_key() due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Subscriber-level access and above, to create valid API keys on behalf of other users.
Problem types
CWE-639 Authorization Bypass Through User-Controlled Key
Product status
2.0.0 (semver)
Timeline
| 2025-05-06: | Disclosed |
Credits
Kenneth Dunn
References
www.wordfence.com/...-c985-413f-8d8b-b57e11d1d230?source=cve
plugins.trac.wordpress.org/...pi/action/class-api-action.php