Description
The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to arbitrary file write via a missing authorization check in all versions up to, and including, 1.7.1. This is due to the REST API endpoint `/wp-json/hippoo/v1/wc/token/save_callback/{token_id}` being registered with `permission_callback => '__return_true'`, which allows unauthenticated access. This makes it possible for unauthenticated attackers to write arbitrary JSON content to the server's publicly accessible upload directory via the vulnerable endpoint.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
hippooo Hippoo Mobile App for WooCommerce
Default version status: unaffected
0 to ≤ 1.7.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d34701a0-c745-441c-8d6c-7befc877f8d0?source=cve ↗
- https://plugins.trac.wordpress.org/browser/hippoo/tags/1.6.1/app/web_api.php#L45 ↗
- https://plugins.trac.wordpress.org/browser/hippoo/tags/1.6.1/app/web_api.php#L117 ↗
- https://plugins.trac.wordpress.org/browser/hippoo/tags/1.6.1/app/utils.php#L1 ↗