Privilege Escalation in User Registration WordPress Plugin (form_save_action)
CVE-2024-2417 is a privilege escalation vulnerability in the User Registration – Custom Registration Form, Login Form, and User Profile WordPress Plugin (all versions up to and including 3.1.5). The vulnerability exists due to a missing capability check in the form_save_action() function, allowing authenticated users with subscriber-level access or higher to modify the registration form settings. Specifically, attackers can set the default registration role to 'administrator', enabling subsequent registrations to gain administrator privileges.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation allows any authenticated user with subscriber-level access or higher to escalate privileges and create new administrator accounts. This results in full site compromise, including the ability to modify content, install plugins, and potentially execute arbitrary code via plugin/theme editors.
If you can’t patch tonight, do this now.
Restrict access to the WordPress admin area to trusted users only. Monitor user registrations for suspicious activity. Consider temporarily disabling new user registrations until the plugin is updated.
Patch, then assume compromise.
Update the User Registration plugin to a version after 3.1.5 where proper capability checks are implemented in the form_save_action() function. Review and revert any unauthorized changes to registration settings and user roles.
No public exploits tracked yet. Mallory keeps watching.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.