This Security Advisory is about a potential vulnerability in how cache is purged when using eZ Platform with eZ Cloud (Platform.sh) and Fastly. We say "potential vulnerability", because when eZ Platform is correctly configured for this setup, it's not vulnerable. But if the configuration is not correct, there's a vulnerability that could be abused by an attacker to purge all caches on a target site repeatedly, leading to very poor performance and potential Denial-of-Service (DoS).
The configuration in question:
Varnish is enabled by default when deploying on Platform.sh. In order to use Fastly with eZ Platform, Varnish must be disabled, as is documented here:
This includes, among other things, removing this environment variable:
All these conditions must be met to be vulnerable:
- Use eZ Platform on eZ Cloud (Platform.sh)
- Use Fastly
- Have not disabled Varnish
If you are vulnerable, please disable Varnish as documented and redeploy, as soon as possible.