PT-2024-39051 · WordPress · Rest Api To Miniprogram

Wesley

·

Published

2024-09-24

·

Updated

2024-10-02

·

CVE-2024-8485

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: REST API TO MiniProgram plugin for WordPress versions up to, and including, 4.7.1
Description: The issue allows for privilege escalation via account takeover due to missing validation on the openid user-controlled key in the updateUserInfo() function. This makes it possible for unauthenticated attackers to update arbitrary user's accounts, including their email to a @weixin.com email, which can then be leveraged to reset the password of the user's account, including administrators.
Recommendations: For versions up to, and including, 4.7.1, consider disabling the updateUserInfo() function until a patch is available to prevent exploitation. Restrict access to the REST API to minimize the risk of account takeover. Avoid using the openid key in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.

Fix

IDOR

Weakness Enumeration

Related Identifiers

CVE-2024-8485

Affected Products

Rest Api To Miniprogram