GHSA-WHC7-2G23-HFWJ

Vulnerability from github – Published: 2026-11-30 20:48 – Updated: 2026-11-30 20:48
VLAI
Summary
TastyIgniter: Mollie payment confirmation does not verify payment-to-order binding or amount, allowing order status forgery
Details

Summary

The Mollie payment gateway's server-to-server payment confirmation endpoint marks an order as paid based solely on whether a Mollie payment ID is "paid," without verifying that the payment actually belongs to that order or that its amount matches the order total. This allows a customer to mark an order as fully paid without paying its actual price.

Details

processNotifyUrl() in src/Payments/Mollie.php (around lines 158-194) looks up the order by a URL hash and, independently, fetches a Mollie payment object using a client-supplied id request parameter:

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

No check is performed that $payment's own order metadata references $order, and no check that $payment->amount matches $order->order_total. The notify route is intentionally unauthenticated (required for Mollie's servers to reach it) and CSRF-exempt (VerifyCsrfToken::except(['ti_payregister/*']) in src/Extension.php).

By contrast, in the same codebase, both Stripe::verifyPaymentIntentForOrder() (src/Payments/Stripe.php) and PaypalExpress::processReturnUrl() (src/Payments/PaypalExpress.php) correctly check both the order reference and the amount before marking an order paid.

PoC

  1. As an ordinary customer, place Order A (a minimal-cost item) and pay it via Mollie — obtain the resulting Mollie payment id (visible from the checkout redirect / notify traffic for that order).
  2. Place Order B (a higher-value order) via the normal storefront checkout and select Mollie, but do not complete payment.
  3. Send a request to Order B's notify URL, supplying Order A's already-paid Mollie payment id as the id parameter instead of a genuine payment for Order B.
  4. processNotifyUrl() fetches Order A's payment from Mollie (a real, valid, paid transaction, so isPaid() returns true) and marks Order B as paid, even though Order B's actual price was never charged.

No per-payment-ID consumption tracking was found that would prevent the same paid payment ID from being reused across multiple orders' notify URLs.

Impact

Any customer who can place two orders through the normal storefront can get an order marked "paid" without paying its actual amount — direct, repeatable revenue loss for the merchant. No special privileges or hash-guessing are required.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "tastyigniter/ti-ext-payregister"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-134021"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-345"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-30T20:48:51Z",
    "nvd_published_at": "2026-11-23T23:17:04Z",
    "severity": "HIGH"
  },
  "details": "### Summary\nThe Mollie payment gateway\u0027s server-to-server payment confirmation endpoint marks an order as paid based solely on whether a Mollie payment ID is \"paid,\" without verifying that the payment actually belongs to that order or that its amount matches the order total. This allows a customer to mark an order as fully paid without paying its actual price.\n\n### Details\n`processNotifyUrl()` in `src/Payments/Mollie.php` (around lines 158-194) looks up the order by a URL hash and, independently, fetches a Mollie payment object using a client-supplied `id` request parameter:\n\n    $order = $this-\u003ecreateOrderModel()-\u003ewhereHash($hash)-\u003efirst();\n    $payment = $this-\u003ecreateClient()-\u003epayments-\u003eget(request()-\u003einput(\u0027id\u0027, \u0027\u0027));\n    if ($payment-\u003eisPaid()) {\n        $order-\u003eupdateOrderStatus($paymentMethod-\u003eorder_status, ...);\n        $order-\u003emarkAsPaymentProcessed();\n    }\n\nNo check is performed that `$payment`\u0027s own order metadata references `$order`, and no check that `$payment-\u003eamount` matches `$order-\u003eorder_total`. The notify route is intentionally unauthenticated (required for Mollie\u0027s servers to reach it) and CSRF-exempt (`VerifyCsrfToken::except([\u0027ti_payregister/*\u0027])` in `src/Extension.php`).\n\nBy contrast, in the same codebase, both `Stripe::verifyPaymentIntentForOrder()` (`src/Payments/Stripe.php`) and `PaypalExpress::processReturnUrl()` (`src/Payments/PaypalExpress.php`) correctly check both the order reference and the amount before marking an order paid.\n\n### PoC\n1. As an ordinary customer, place Order A (a minimal-cost item) and pay it via Mollie \u2014 obtain the resulting Mollie payment `id` (visible from the checkout redirect / notify traffic for that order).\n2. Place Order B (a higher-value order) via the normal storefront checkout and select Mollie, but do not complete payment.\n3. Send a request to Order B\u0027s notify URL, supplying Order A\u0027s already-paid Mollie payment `id` as the `id` parameter instead of a genuine payment for Order B.\n4. `processNotifyUrl()` fetches Order A\u0027s payment from Mollie (a real, valid, paid transaction, so `isPaid()` returns true) and marks Order B as paid, even though Order B\u0027s actual price was never charged.\n\nNo per-payment-ID consumption tracking was found that would prevent the same paid payment ID from being reused across multiple orders\u0027 notify URLs.\n\n### Impact\nAny customer who can place two orders through the normal storefront can get an order marked \"paid\" without paying its actual amount \u2014 direct, repeatable revenue loss for the merchant. No special privileges or hash-guessing are required.",
  "id": "GHSA-whc7-2g23-hfwj",
  "modified": "2026-11-30T20:48:51Z",
  "published": "2026-11-30T20:48:51Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/rconfig/rconfig/security/advisories/GHSA-p5q7-2wwp-q42f"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-whc7-2g23-hfwj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134021"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tastyigniter/ti-ext-payregister/pull/66"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tastyigniter/ti-ext-payregister/commit/14fa38d24fdeebbcc25876e902d7c631a2e1f4cf"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/tastyigniter/TastyIgniter"
    },
    {
      "type": "WEB",
      "url": "https://github.com/tastyigniter/ti-ext-payregister/releases/tag/v4.3.1"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TastyIgniter: Mollie payment confirmation does not verify payment-to-order binding or amount, allowing order status forgery"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.