CVE-2024-8485
CRITICAL
9.8
CVSS 3.1
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.
Affected WordPress components
-
rest-api-to-miniprogram Plugin · rest-api-to-miniprogramUp to and including 4.7.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- xjb REST API TO MiniProgram — Up to and including 4.7.1
- jianbo rest-api-to-miniprogram — Up to and including 4.7.1
- jianbo rest_api_to_miniprogram — Up to and including 4.7.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.0/includes/api/ram-rest-weixin-controller.php#L264 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.6/includes/api/ram-rest-weixin-controller.php#L264
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/b53066d3-2ff3-4460-896a-facd77455914?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record