Description
The Realty Portal – Agent plugin for WordPress is vulnerable to Privilege Escalation due to missing authorization within the rp_user_profile() AJAX handler in versions 0.1.0 through 0.3.9. The handler reads the client-supplied meta key and value pairs from $_POST and passes them directly to update_user_meta() without restricting to a safe whitelist. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the wp_capabilities meta and grant themselves the administrator role.
Problem types
Product status
Any version
Timeline
| 2025-07-22: | Disclosed |
Credits
Youcef Hamdani
References
www.wordfence.com/...-ebdf-4a50-b60f-03a606a84ec0?source=cve
plugins.trac.wordpress.org/...cludes/class-agent-process.php
wordpress.org/plugins/realty-portal-agent/