Users manager – PN <= 1.1.15 - Unauthenticated Privilege Escalation via Account Takeover via 'userspn_form_save' AJAX Action
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
The Users manager – PN plugin for WordPress is vulnerable to Privilege Escalation via Arbitrary User Meta Update in all versions up to and including 1.1.15. This is due to a flawed authorization logic check in the userspn_ajax_nopriv_server() function within the 'userspn_form_save' case. The conditional only blocks unauthenticated users when the user_id is empty, but when a non-empty user_id is supplied, execution bypasses this check entirely and proceeds to update arbitrary user meta via update_user_meta() without any authentication or authorization verification. Additionally, the nonce required for this AJAX endpoint ('userspn-nonce') is exposed to all visitors via wp_localize_script on the public wp_enqueue_scripts hook, rendering the nonce check ineffective as a security control. This makes it possible for unauthenticated attackers to update arbitrary user metadata for any user account, including the userspn_secret_token field.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- felixmartinez Users manager – PN
through 1.1.15
References 12
plugins.trac.wordpress.org
- browser/userspn/trunk/includes/class-userspn-ajax-nopriv.php#L233
- browser/userspn/tags/1.0.31/includes/class-userspn-ajax-nopriv.php#L233
- browser/userspn/trunk/includes/class-userspn-ajax-nopriv.php#L186
- browser/userspn/tags/1.0.31/includes/class-userspn-ajax-nopriv.php#L186
- browser/userspn/trunk/includes/class-userspn-ajax-nopriv.php#L190
- browser/userspn/tags/1.0.31/includes/class-userspn-ajax-nopriv.php#L190
- browser/userspn/trunk/includes/class-userspn-common.php#L168
- browser/userspn/tags/1.0.31/includes/class-userspn-common.php#L168
- browser/userspn/trunk/includes/class-userspn-functions-user.php#L235
- browser/userspn/tags/1.0.31/includes/class-userspn-functions-user.php#L235
- changeset?sfp_email=&sfph_mail=&reponame=&old=3491109%40userspn&new=3491109%40userspn&sfp_email=&sfph_mail=