WordPress Plugin Vulnerabilities

Frontend Admin by DynamiApps < 3.29.1 - Unauthenticated Privilege Escalation via Edit User Form

Description

The plugin is vulnerable to Privilege Escalation due to insufficient authorization checks in the role field update mechanism combined with overly permissive capabilities for the admin_form post type. The admin_form custom post type uses 'capability_type' => 'page', which grants editors the ability to create and edit forms. When an editor creates an edit_user form, they can manipulate the form configuration to include 'administrator' in the role_options array by directly submitting POST data to wp-admin/post.php, bypassing the UI restrictions in feadmin_get_user_roles(). When the form is subsequently submitted, the pre_update_value() function in class-role.php only validates that the submitted role exists in the form's role_options array (lines 107-110), but fails to verify that the current user has permission to assign that specific role. This makes it possible for unauthenticated attackers to first register as editors (via a public new_user form), then create an edit_user form with administrator in the allowed roles, and finally use that form to escalate their own privileges to administrator.

Proof of Concept

Affects Plugins

References

Classification

Miscellaneous

Original Researcher
Colin Xu
Verified
Yes

Timeline

Publicly Published
2026-05-14 (about 2 months ago)
Added
2026-05-14 (about 2 months ago)
Last Updated
2026-07-24 (about 2 days ago)

Other