CyberRota Analysis
AI-GeneratedThe MemberPress Corporate Accounts plugin for WordPress is susceptible to privilege escalation due to a mass assignment vulnerability in the 'add_sub_account_user' function, allowing authenticated users with corporate accounts to create or hijack administrator accounts. This flaw affects versions up to 1.5.39 and poses a significant risk, as it enables attackers to gain elevated privileges and control over the site. WordPress site administrators using this plugin should prioritize applying the patch to mitigate potential exploitation.
Original NVD Description
The MemberPress Corporate Accounts plugin for WordPress is vulnerable to Privilege Escalation in versions up to, and including, 1.5.39. This is due to a mass assignment vulnerability in the 'add_sub_account_user' function that passes the raw 'userdata' array to 'wp_insert_user' without filtering dangerous keys like role or ID. This makes it possible for authenticated attackers, with subscriber-level access and above who hold a corporate account, to create new administrator accounts or hijack existing administrator accounts by overwriting their email addresses. The vulnerability was partially patched in version 1.5.39.