DDOS attack on graphql endpoints
High severity
GitHub Reviewed
Published
Mar 15, 2023
in
silverstripe/silverstripe-graphql
•
Updated Mar 16, 2023
Package
Affected versions
>= 4.1.1, < 4.1.2
>= 4.2.2, < 4.2.3
Patched versions
4.1.2
4.2.3
Description
Published by the National Vulnerability Database
Mar 16, 2023
Published to the GitHub Advisory Database
Mar 16, 2023
Reviewed
Mar 16, 2023
Last updated
Mar 16, 2023
An attacker could use a specially crafted graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed and particularly large/complex graphql schemas.
If your Silverstripe CMS project does not expose a public facing graphql schema, a user account is required to trigger the DDOS attack. If your site is hosted behind a content delivery network (CDN), such as Imperva or CloudFlare, this will likely further mitigate the risk.
Upgrade to
silverstripe/graphql
4.2.3 or 4.1.2 or above to remedy the vulnerability.References