ZarinPal for WooCommerceに認証なしで注文情報が漏えいする脆弱性
Summary
ZarinPal for WooCommerceの5.1.1以前では、認証なしで他人の注文の情報を取得される脆弱性が見つかりました。注文キーを使うと、顧客の氏名・住所・電話番号・メールアドレスなどが読み取られるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
ZarinPal for WooCommerceの5.1.1以前では、認証なしで他人の注文の情報を取得される脆弱性が見つかりました。注文キーを使うと、顧客の氏名・住所・電話番号・メールアドレスなどが読み取られるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| zarinpalافزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce) |
≤ 5.1.1→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web github.com