Description
The YayMail – WooCommerce Email Customizer plugin for WordPress is vulnerable to unauthorized license key deletion due to a missing authorization check on the `/yaymail-license/v1/license/delete` REST endpoint in versions up to, and including, 4.3.2. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to delete the plugin's license key via the '/yaymail-license/v1/license/delete' endpoint granted they can obtain the REST API nonce.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yaycommerce | YayMail – WooCommerce Email Customizer | ≤ 4.3.2 | — |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6ce57b12-2241-416b-b466-aa06ca8c7551?source=cve
- https://plugins.trac.wordpress.org/browser/yaymail/tags/4.3.2/src/License/RestAPI.php#L142
- https://plugins.trac.wordpress.org/browser/yaymail/trunk/src/License/RestAPI.php#L142
- https://plugins.trac.wordpress.org/changeset/3460087/