Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS12MjN3LXBwcG0tamg2Ns4AA2gU

Silverstripe GraphQL has DDOS Vulnerability due to lack of protection against recursive queries

Impact

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.

Patches

Patched in 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3

References

Reported by

Jason Nguyen from phew (https://phew.co.nz/)

Permalink: https://github.com/advisories/GHSA-v23w-pppm-jh66
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12MjN3LXBwcG0tamg2Ns4AA2gU
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 7 months ago
Updated: 6 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-v23w-pppm-jh66, CVE-2023-40180
References: Repository: https://github.com/silverstripe/silverstripe-graphql
Blast Radius: 17.9

Affected Packages

packagist:silverstripe/graphql
Dependent packages: 31
Dependent repositories: 240
Downloads: 1,633,932 total
Affected Version Ranges: >= 5.0.0, < 5.0.3, >= 4.3.0, < 4.3.4, >= 4.2.0, < 4.2.5, >= 4.0.0, < 4.1.3, >= 3.0.0, < 3.8.2
Fixed in: 5.0.3, 4.3.4, 4.2.5, 4.1.3, 3.8.2
All affected versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.3.0, 3.4.0, 3.4.1, 3.5.0, 3.5.1, 3.5.2, 3.6.0, 3.7.0, 3.7.1, 3.7.2, 3.8.0, 3.8.1, 4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 5.0.0, 5.0.1, 5.0.2
All unaffected versions: 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 3.8.2, 4.1.3, 4.2.5, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 5.0.3, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.2.0