REST API TO MiniProgram <= 4.7.1 — Unauthenticated Arbitrary User Email Update and Privilege Escalation via Account Takeover
CVE-2024-8485Published · Updated Action summary
Affected: ≤4.7.1Update to 4.7.6 or newer
All remediation steps- Severity
- Critical9.8
- CVSS
- 9.8CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:HIntegrity- High
A:HAvailability- High
- Required access
- No account needed
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
REST API TO MiniProgram rest-api-to-miniprogram
- Affected≤ 4.7.1
- Patched in4.7.6
Update to 4.7.6 or newer.
You are affected if you run ≤ 4.7.1. Version 4.7.6 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under REST API TO MiniProgram.
- No admin access? Run a passive check of your site. It reads public files only.
- No account is needed to exploit this. Treat any exposed site on an affected version as at risk.
What to do
- Update to version 4.7.6, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch REST API TO MiniProgram to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to wesley (wcraft).
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in REST API TO MiniProgram
All 5| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium5.3 | Authenticated (Subscriber+) Insecure Direct Object Reference via 'userid' REST API Parameter ≤5.1.2No patch available | CVE-2026-3460 | |
| Medium4.3 | Cross-Site Request Forgery ≤4.7.1No patch available | CVE-2025-28886 | |
| High7.5 | Unauthenticated SQL Injection ≤4.7.1Update to 5.1 | CVE-2024-8484 | |
| Medium6.4 | Authenticated (Subscriber+) Media Attachment Deletion ≤4.7.7No patch available | CVE-2023-0551 |
- Medium5.3Authenticated (Subscriber+) Insecure Direct Object Reference via 'userid' REST API Parameter
≤5.1.2No patch available
- Medium4.3Cross-Site Request Forgery
≤4.7.1No patch available
- High7.5Unauthenticated SQL Injection
≤4.7.1Update to 5.1
- Medium6.4Authenticated (Subscriber+) Media Attachment Deletion
≤4.7.7No patch available
Timeline
CVE published
Severity critical, CVSS 9.8
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
