Shopware: SSRF in Media External-Link Endpoint Bypasses IP Validation
shopware · shopware platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| shopware/core Packagist |
|
|
| shopware/platform Packagist |
|
|
shopware · shopware platform
| Product | Affected | Fixed in |
|---|---|---|
| shopware/core Packagist |
|
|
| shopware/platform Packagist |
|
|
Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, the `/api/_action/media/external-link` endpoint allows authenticated admin users to make server-side HTTP HEAD requests to arbitrary internal IP addresses. While the parallel `uploadFromURL` flow validates target IPs against private/reserved ranges via `FileUrlValidator`, the `linkURL` flow only performs a URL format check (regex for `http://` or `https://` prefix), allowing SSRF to internal network services and cloud metadata endpoints. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.
From the CVE record · GitHub_M
The `/api/_action/media/external-link` endpoint does not validate target IP addresses in its `linkURL` flow. An authenticated admin user can make the server send HTTP HEAD requests to internal services or cloud metadata endpoints.
Operators of Shopware versions prior to 6.6.10.18 or 6.7.10.1 should check their installations, including Packagist `shopware/core` and `shopware/platform` versions from 6.7.0.0 up to, but not including, 6.7.10.1.