Lucene search

K
githubGitHub Advisory DatabaseGHSA-V23W-PPPM-JH66
HistoryOct 17, 2023 - 1:48 p.m.

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

2023-10-1713:48:17
CWE-400
GitHub Advisory Database
github.com
9
silverstripe
graphql
ddos
vulnerability
recursive query
patched versions
protection
configuration options
documentation
cve-2023-40180
jason nguyen

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

EPSS

0.001

Percentile

31.4%

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

Affected configurations

Vulners
Node
silverstripegraphqlRange5.0.05.0.3
OR
silverstripegraphqlRange4.3.04.3.4
OR
silverstripegraphqlRange4.2.04.2.5
OR
silverstripegraphqlRange4.0.04.1.3
OR
silverstripegraphqlRange3.0.03.8.2
VendorProductVersionCPE
silverstripegraphql*cpe:2.3:a:silverstripe:graphql:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

EPSS

0.001

Percentile

31.4%