Descrizione
The SumUp Payment Gateway For WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 2.17.1 via the 'sumup-validate-order' query parameter handled by the check_redirect_flow() / resolve_payment_redirect_validation() functions. The template_redirect handler accepts an arbitrary numeric order ID from an unauthenticated GET request and, without any ownership or capability check, loads the corresponding WooCommerce order and issues a 302 redirect whose Location header is built by get_return_url(), disclosing the target order's secret order_key. This makes it possible for unauthenticated attackers to enumerate order IDs, harvest each order's WooCommerce order_key, and use those keys against the plugin's create_checkout endpoint and WooCommerce's own order-received/order-pay pages to read customer PII (name, email, phone, billing address, order total) for any order in the store.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.5% (percentile 35).
Versioni da aggiornare
- sumup SumUp Payment Gateway For WooCommerce: vulnerabili le versioni fino alla
2.17.1inclusa → aggiornare a una release successiva alla2.17.1.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| sumup | SumUp Payment Gateway For WooCommerce | ≤ 2.17.1 | — |
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L1794
- Riferimentohttps://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L1877
- Riferimentohttps://plugins.trac.wordpress.org/browser/sumup-payment-gateway-for-woocommerce/tags/2.17.1/includes/class-wc-sumup-gateway.php#L244
- Riferimentohttps://plugins.trac.wordpress.org/changeset?reponame=&old=3780722%40sumup-payment-gateway-for-woocommerce&new=3780722%40sumup-payment-gateway-for-woocommerce
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/1e3f44f6-9626-47e8-9b16-5e153f4887ca?source=cve