Statamic CMS: Server-Side Request Forgery via Glide
As published by the sources
Affected packages
- Affected
<5.73.22 || >=6.0.0-alpha.1,<6.18.1Fixed in5.73.226.18.1
Derived from the fixed versions above
What to do
Upgrade statamic/cms to the fixed version in your release line: 5.73.22, 6.18.1.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
Impact
The Glide image proxy's URL validation could be bypassed using an IP representation that wasn't normalized before the public-IP check. An unauthenticated user 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. Sites running PHP 8.3 or newer are not affected.
Patches
This has been fixed in 5.73.22 and 6.18.1