CVE-2023-40180 - DDOS Vulnerability on GraphQL due to lack of protection against recursive queries
- High (?)
- Versions Affected:
- silverstripe/graphql: ^3.0.0, ^4.0.0, ^5.0.0
- Versions Fixed:
- 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3
- Release Date:
An attacker could use a recursive graphql query to execute a Distributed Denial of Service attack (DDOS attack) against a website. This mostly affects websites with publicly exposed 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 may further mitigate the risk.
The fix includes some new configuration options which you might want to tweak for your project, based on your own requirements. See the documentation in the references for details.
Base CVSS: 7.5
Reported by: Jason Nguyen from phew