Affected versions
- Affected versions
- <=6.7.1
- Fixed version
- 6.7.2
Exploitation
Description
The Essential Addons for Elementor plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 6.7.1. This is due to missing validation against reserved wp_insert_user() data keys (such as 'role') when building the custom profile fields array, allowing user-controlled field labels to overwrite core user properties via mass assignment. This makes it possible for unauthenticated attackers to register as a new user with an arbitrary role, including administrator, by submitting a custom profile field whose label slugifies to 'role' (or another reserved wp_insert_user key), causing the value to be passed directly to wp_insert_user().
Links
Credits
- Jakub Herman

