REST API TO MiniProgram <= 4.7.7 - Authenticated (Subscriber+) Media Attachment Deletion
Strategic Overview
- Status
- Unpatched
- Affected Plugin
- REST API TO MiniProgram
- Affected Version
<= 4.7.7- CVSS
- 6.4Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2023-0551
At a glance
CVE-2023-0551 is a medium-severity Missing Authorization vulnerability in the REST API TO MiniProgram WordPress plugin, affecting versions <= 4.7.7. It carries a CVSS score of 6.4 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Subscriber level or above. No fixed release has been reported yet; treat installations running this software as exposed. Disclosed April 2023, reported by István Márton.
Vulnerability Overview
The REST API TO MiniProgram plugin for WordPress is vulnerable to unauthorized modification and loss of data due to a missing capability check on the file_batch_delete_callback() function used to delete uploaded attachments in versions up to, and including, 4.7.7. This makes it possible for authenticated attackers, with minimal permissions such as a subscriber, to delete arbitrary media files on a WordPress site.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-862: Missing Authorization
REST API TO MiniProgram <= 4.7.7 carries this weakness at file_batch_delete_callback(), and reaching it takes an account at Subscriber level or above. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. No fixed build of this plugin is recorded for REST API TO MiniProgram yet, so installs running <= 4.7.7 stay exposed until the vendor ships one.
Remediation
No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. No patched version is recorded yet, which is the case where a filtering layer matters most, because there is nothing to update to.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in REST API TO MiniProgram
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C