MediumGHSA-gq96-5pfx-f4vc::1
Shopware: SSRF in Media External-Link Endpoint Bypasses IP Validation
Affected versions
6.7.0.0 to before 6.7.10.1 - fixed in 6.7.10.1Details
## Summary 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. ## Details The vulnerability is an inconsistency between two URL-handling flows in `MediaUploadService`. **Vulnerable path** (`external-link`):
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected