CVE-2023-40180 Denial of service vulnerability in silverstripe-graphql via recursive queries
Attackers can cause denial of service on Silverstripe websites via recursive GraphQL queries, particularly affecting sites with public schemas.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-40180?
CVE-2023-40180 is a high-severity denial of service vulnerability in silverstripe-graphql, published on 16 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
silverstripe-graphql is a package which serves Silverstripe data in GraphQL representations. 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. This issue has been addressed in versions 3.8.2, 4.1.3, 4.2.5, 4.3.4, and 5.0.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-400
Which versions are affected by CVE-2023-40180?
10 open source packages ship an affected version, including silverstripe/graphql. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/graphql Packagist | From 3.0.0 | 3.8.2 |
silverstripe/graphql Packagist | From 3.0.0 | 3.8.2 |
silverstripe/graphql Packagist | From 4.0.0 | 4.1.3 |
silverstripe/graphql Packagist | From 4.0.0 | 4.1.3 |
silverstripe/graphql Packagist | From 4.2.0 | 4.2.5 |
silverstripe/graphql Packagist | From 4.2.0 | 4.2.5 |
4 more packages
silverstripe/graphql Packagist | From 4.3.0 | 4.3.4 |
silverstripe/graphql Packagist | From 4.3.0 | 4.3.4 |
silverstripe/graphql Packagist | From 5.0.0 | 5.0.3 |
silverstripe/graphql Packagist | From 5.0.0 | 5.0.3 |
Products include Silverstripe Graphql.
How do I fix CVE-2023-40180?
Upgrade silverstripe/graphql to a fixed version for your release line: 3.8.2, 4.1.3, 4.2.5 or 4.3.4.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-40180 being exploited?
There is no known exploitation of CVE-2023-40180 in the wild and no public exploit code.
Other vulnerabilities in silverstripe-graphql
Sources
Also known as GHSA-v23w-pppm-jh66.