افزونه پرداخت امن زرینپال برای ووکامرس
The ZarinPal Payment Gateway for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 5.1.1 via the `Return from ZarinPal Gateway()` handler registered on the `woocommerce api wc zpal` (`?wc-api=wc zpal`) endpoint. The handler accepts a `wc order` parameter from the query string, loads the corresponding WooCommerce order without any authentication, nonce, session, capability, or ownership check, and — when the order is paid — issues a 302 redirect to `get return url($order)`, whose `Location` header embeds the order's secret `order key`. This makes it possible for unauthenticated attackers to harvest order keys for arbitrary orders (regardless of payment method) and then use those keys against the WooCommerce order-received, order-pay and download endpoints to read the associated customer's PII, including billing name, street address, phone number, email, purchased items, and totals.