Advisory

GHSA-v23w-pppm-jh66

Also known as: CVE-2023-40180

Summary

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

Details

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/)

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-17 13:48 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.8.2 (ecosystem)

Fixed versions

3.8.2

Fix

The export has no generic command for this ecosystem.

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.1.3 (ecosystem)

Fixed versions

4.1.3

Fix

The export has no generic command for this ecosystem.

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 4.2.0, fixed 4.2.5 (ecosystem)

Fixed versions

4.2.5

Fix

The export has no generic command for this ecosystem.

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 4.3.0, fixed 4.3.4 (ecosystem)

Fixed versions

4.3.4

Fix

The export has no generic command for this ecosystem.

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 5.0.0, fixed 5.0.3 (ecosystem)

Fixed versions

5.0.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences