REST API TO MiniProgram <= 4.7.1 - Unauthenticated Arbitrary User Email Update and Privilege Escalation via Account Takeover

9.8
Authorization Bypass Through User-Controlled Key
CVE CVE-2024-8485
CVSS 9.8 (Critical)
Publicly Published September 24, 2024
Last Updated December 5, 2024
Researcher wesley (wcraft)

Description

The REST API TO MiniProgram plugin for WordPress is vulnerable to privilege escalation via account takeovr in all versions up to, and including, 4.7.1 via the updateUserInfo() due to missing validation on the 'openid' user controlled key that determines what user will be updated. This makes it possible for unauthenticated attackers to update arbitrary user's accounts, including their email to a @weixin.com email, which can the be leveraged to reset the password of the user's account, including administrators.

References

Share

Vulnerability Details for REST API TO MiniProgram

Software Type Plugin
Software Slug rest-api-to-miniprogram (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.7.6, or a newer patched version
Affected Version
  • <= 4.7.1
Patched Version
  • 4.7.6

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation