
Cloud Vulnerability DB
A community-led vulnerabilities database
In stores where "Checkout Success" is set to "standard" and "Invoice Close Handling" is set to "keep order", an unauthenticated visitor can bind another customer's unpaid order to their own checkout session through the Pay endpoint. From there they can read that order's billing name, email and address, and change the order's status. Stores using the default settings are not affected.
Controller/Invoice/Pay.php accepts an order_id and an invoice_id from the request. It loads the order and checks that the BitPay invoice is in the "new" state, but it does not check that the invoice belongs to that order, or that the order belongs to the current session. It then sets the order as the last order of the visitor's checkout session. After that, the checkout success page runs Model/BPRedirect.php for the session's last order. It writes the order's billing address and customer email into the session as customer_info, changes the order status and creates a new BitPay invoice for it. Controller/Customer/Data.php returns customer_info as JSON. An attacker can use a "new" invoice from their own order together with another customer's order ID. Order entity IDs are sequential, so they are easy to guess. The fix in 10.2.5 makes the Pay endpoint check that the order is the last order placed in the current session, that the invoice is stored for that order, and that BitPay reports the same order ID for the invoice.
Requirements: Checkout Success = standard, Invoice Close Handling = keep order.
/bitpay-invoice/invoice/pay?order_id=VICTIM_ORDER_ID&invoice_id=ATTACKER_INVOICE_ID. The victim's order becomes the last order of the attacker's session.Exposure of other customers' personal data (billing name, email and full address) and unauthorized changes to their orders (status change and a new BitPay invoice). Only stores that changed both settings above are affected. No payment can be marked as paid through this issue.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."