# TastyIgniter: Mollie payment confirmation does not verify payment-to-order binding or amount, allowing order status forgery

Mollie notify endpoint marks any order paid using a client-supplied paid payment ID, without binding payment to order or checking amount, enabling free orders.

- Payout: Research
- Severity: high
- Program: TastyIgniter
- Found by: vitasec
- Disclosed: 2026-11-30
- CVE: CVE-2026-134021
- Write-up quality: 7/10
- Original: https://github.com/advisories/GHSA-whc7-2g23-hfwj
- Library page: https://bugbountylibrary.com/r/ghsa%3AGHSA-whc7-2g23-hfwj
- Tags: area:web domain:web impact:funds-loss kind:research platform:ghsa sev:high tech:payment technique:source-review vuln:access-control vuln:business-logic

**Target:** Mollie payment gateway notify endpoint (ti-ext-payregister)
**Root cause:** processNotifyUrl() fetches a Mollie payment by client-supplied `id` and marks the hash-resolved order paid if isPaid(), never verifying the payment's order metadata or that amount matches order_total.
**Steps:**
1. Place and pay Order A via Mollie; capture its paid Mollie payment `id` from checkout redirect/notify traffic.
2. Place higher-value Order B via checkout with Mollie, do not pay.
3. Send request to Order B's notify URL with `id`=<Order A's paid payment id>.
4. processNotifyUrl() fetches Order A's payment, isPaid() true, marks Order B paid.
**How found:** Code review of processNotifyUrl() noting order lookup by hash and payment fetch by request `id` are independent, with no binding/amount check, contrasted against Stripe and PaypalExpress handlers in the same codebase that do verify both.
**Exploitation:** Customer reuses a single genuinely paid low-value Mollie payment ID against other orders' unauthenticated, CSRF-exempt notify URLs; each request marks the target order paid and payment-processed without charging the real total. Repeatable across many orders since no per-payment-ID consumption tracking exists.
**Insight:** On payment-gateway notify/webhook handlers, check whether the fetched transaction is bound to the order (metadata/order reference) and amount-matched; sibling gateway implementations in the same repo often reveal the missing check.

## Proof of concept (copied exactly from the original report)

**Vulnerable processNotifyUrl code fetching payment by client id**

```
$order = $this->createOrderModel()->whereHash($hash)->first();
    $payment = $this->createClient()->payments->get(request()->input('id', ''));
    if ($payment->isPaid()) {
        $order->updateOrderStatus($paymentMethod->order_status, ...);
        $order->markAsPaymentProcessed();
```

