p PatchFirst

CVE-2026-53639

CVE-2026-53639 · Sylius: IDOR on Shop Payment Request API endpoints

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

Sylius is an Open Source eCommerce Framework on Symfony. Starting in version 2.0.0 and prior to version 2.0.18, 2.1.15, and 2.2.6, the `GET /api/v2/shop/payment-requests/{hash}` and `PUT /api/v2/shop/payment-requests/{hash}` endpoints look up the payment request solely by the hash from the URL. No ownership check is performed against the authenticated customer or the underlying order. An attacker who obtains a payment request hash can read the payment request and, through the `payment` IRI in the response, recover the underlying order's `tokenValue` (which itself grants access to the full order, items, addresses, customer email, totals); and/or update the payment request payload (e.g. `target_path`, `after_path`). These fields are used by the front-end controller to redirect the user after the payment, so an attacker can flip them to an attacker-controlled URL and intercept the buyer. The hash is a UUID, so it has to be obtained out-of-band (logs, shared links, referrer headers, a co-located client), but once it is known no other credential is required, neither authentication nor knowledge of the order token. The creation endpoint `POST /api/v2/shop/orders/{tokenValue}/payment-requests` shares the same flaw: it resolves the target order solely from the `tokenValue` in the URL without verifying that the caller owns the order. The issue is fixed in versions 2.0.18, 2.1.15, and 2.2.6. As a workaround, add a query extension that filters the `GET` operation; decorate the `PUT` state provider, guard the `POST` creation endpoint with a command-bus middleware, and wire the services.

CVSS 6.3 · Moyenne · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: php

Produits et versions concernés

  • sylius

    Versions du logiciel
    • >= 2.0.0, < 2.0.18: Concernée
    • >= 2.1.0, < 2.1.15: Concernée
    • >= 2.2.0, < 2.2.6: Concernée

    Aucun correctif publié

  • sylius/sylius Packagist

    Versions du logiciel
    • v2.0.0
    • v2.0.1
    • v2.0.10
    • v2.0.11
    • v2.0.12
    • v2.0.13
    • v2.0.14
    • v2.0.15
    • v2.0.16
    • v2.0.17
    • v2.0.2
    • v2.0.3
    • v2.0.4
    • v2.0.5
    • v2.0.6
    • v2.0.7
    • v2.0.8
    • v2.0.9
    Plages de versions concernées
    • ECOSYSTEM: ≥ 2.0.0, < 2.0.18

    Mettez à jour vers 2.0.18

  • sylius/sylius Packagist

    Versions du logiciel
    • v2.1.0
    • v2.1.1
    • v2.1.10
    • v2.1.11
    • v2.1.12
    • v2.1.13
    • v2.1.14
    • v2.1.2
    • v2.1.3
    • v2.1.4
    • v2.1.5
    • v2.1.6
    • v2.1.7
    • v2.1.8
    • v2.1.9
    Plages de versions concernées
    • ECOSYSTEM: ≥ 2.1.0, < 2.1.15

    Mettez à jour vers 2.1.15

  • sylius/sylius Packagist

    Versions du logiciel
    • v2.2.0
    • v2.2.1
    • v2.2.2
    • v2.2.3
    • v2.2.4
    • v2.2.5
    Plages de versions concernées
    • ECOSYSTEM: ≥ 2.2.0, < 2.2.6

    Mettez à jour vers 2.2.6

Sources originales

Vérifiez votre serveur →