Description
The WooCommerce Square plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.1 via the get_token_by_id function due to missing validation on a user controlled key. This makes it possible for unauthenticated attackers to expose arbitrary Square "ccof" (credit card on file) values and leverage this value to potentially make fraudulent charges on the target site.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
woocommerce WooCommerce Square
Default version status: unaffected
4.2.0 to < 4.2.3affected4.3.0 to < 4.3.2affected4.4.0 to < 4.4.2affected4.5.0 to < 4.5.2affected4.6.0 to < 4.6.4affected4.7.0 to < 4.7.4affected4.8.0 to < 4.8.8affected4.9.0 to < 4.9.9affected5.0.0 to < 5.0.1affected5.1.0 to < 5.1.2affected