WooCommerce Amazon Pay <= 2.6.3 - Unauthenticated Insecure Direct Object Reference to Order Modification via Amazon Pay Return Handler

Medium 5.3 CWE-639Fixed in 2.6.4
ID
WPSEC-2026-2031
Plugin
Amazon Pay for WooCommerce (woocommerce-gateway-amazon-payments-advanced)
Affected
all versions before 2.6.4
Remediation
Update to 2.6.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-30
Attack surface
WooCommerce Amazon Pay on WPSec AttackSurface
Fix released
Published

Description

The Amazon Pay for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference via the Amazon Pay return handler (handle_return) in all versions up to, and including, 2.6.3, due to the handler taking the order ID from the order-pay endpoint without validating the order key or the pay_for_order capability, and not verifying that a classic checkout session was created for that order. This makes it possible for unauthenticated attackers to apply their own Amazon checkout session to another customer's pending order, overwriting its billing and shipping addresses with their own and, when the totals match, completing payment for that order.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0