WordPress User Extra Fields: Privilege escalation or authentication bypass
WordPress User Extra Fields is affected by privilege escalation or authentication bypass. Exploitation requires at least subscriber-level access. A successful request can grant permissions or access that the caller should not possess.
- Component
- WordPress User Extra Fields
- Plugin slug
user-extra-fields- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Nov 13, 2024
- Weakness
- CWE-862 — Missing Authorization
This CVE was published Nov 13, 2024 and is one of 2 known issues for this plugin.
Update, patch or deactivate.
Update WordPress User Extra Fields to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The WordPress User Extra Fields plugin for WordPress is vulnerable to privilege escalation due to a missing capability check on the ajax_save_fields() function in all versions up to, and including, 16.6. This makes it possible for authenticated attackers, with subscriber-level access and above, to add custom fields that can be updated and then use the check_and_overwrite_wp_or_woocommerce_fields function to update the wp_capabilities field to have administrator privileges.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H