GHSA-v5c4-wcpj-x73m
Statamic Vulnerable to Server-Side Request Forgery via Glide (DNS rebinding)
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | statamic/cms | < 5.73.24 | 5.73.24 |
| Packagist | statamic/cms | >= 6.0.0, < 6.20.1 | 6.20.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
The Glide image proxy's URL validation could be bypassed using DNS rebinding. The remote hostname was validated as publicly routable, but resolved again when the image was actually fetched, so an attacker controlling the hostname's DNS could rebind it to an internal address after validation. This could cause the server to make HTTP requests to internal addresses — including loopback, private network, and cloud metadata endpoints.
This affects sites that pass user-supplied URLs to Glide.
### Patches
This has been fixed in 5.73.24 and 6.20.1.
References
External links from the advisory. They lead to third-party sites.