VDB
Sign up
MEDIUM4.9

GHSA-v5c4-wcpj-x73m

Statamic Vulnerable to Server-Side Request Forgery via Glide (DNS rebinding)

Quick fix

GHSA-v5c4-wcpj-x73m — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^5.73.24

Details

### 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 0Fixed in: 5.73.24
Fixcomposer require statamic/cms:^5.73.24
Packagist/statamic/cms
Introduced in: 6.0.0Fixed in: 6.20.1
Fixcomposer require statamic/cms:^6.20.1

References