Customer data leak via adjustments API endpoint in Sylius
Sylius
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sylius/sylius Packagist |
|
|
Sylius
| Product | Affected | Fixed in |
|---|---|---|
| sylius/sylius Packagist |
|
|
1.10.161.11.17Sylius is an Open Source eCommerce Framework on Symfony. A security vulnerability was discovered in the `/api/v2/shop/adjustments/{id}` endpoint, which retrieves order adjustments based on incremental integer IDs. The vulnerability allows an attacker to enumerate valid adjustment IDs and retrieve order tokens. Using these tokens, an attacker can access guest customer order details - sensitive guest customer information. The issue is fixed in versions: 1.12.19, 1.13.4 and above. The `/api/v2/shop/adjustments/{id}` will always return `404` status. Users are advised to upgrade. Users unable to upgrade may alter their config to mitigate this issue. Please see the linked GHSA for details.
From the CVE record · GitHub_M
The `/api/v2/shop/adjustments/{id}` endpoint exposes order adjustments through incremental IDs. An attacker who queries the endpoint can enumerate adjustment IDs, obtain order tokens, and use them to access sensitive guest customer order details. The input does not specify whether authentication or user interaction is required.
Teams running Packagist `sylius/sylius` versions <1.9.12, >=1.10.0-alpha.1 and <1.10.16, >=1.11.0-alpha.1 and <1.11.17, >=1.12.0-alpha.1 and <1.12.19, or >=1.13.0-alpha.1 and <1.13.4 should check their installations.