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
- CVE-2023-40180 on silverstripe.org
- Documentation about protection against recursive or complex queries for silverstripe/graphql 4.x/5.x
- Documentation about protection against recursive or complex queries for silverstripe/graphql 3.x
Reported by
Jason Nguyen from phew (https://phew.co.nz/)
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka Composer | silverstripe/graphql | >= 3.0.0, < 3.8.2, >= 4.0.0, < 4.1.3, >= 4.2.0, < 4.2.5, >= 4.3.0, < 4.3.4, >= 5.0.0, < 5.0.3 | 3.8.2, 4.1.3, 4.2.5, 4.3.4, 5.0.3 |
Odnośniki
- https://github.com/silverstripe/silverstripe-graphql/security/advisories/GHSA-v23w-pppm-jh66
- https://nvd.nist.gov/vuln/detail/CVE-2023-40180
- https://github.com/silverstripe/silverstripe-graphql/commit/f6d5976ec4608e51184b0db1ee5b9e9a99d2501c
- https://docs.silverstripe.org/en/developer_guides/graphql/security_and_best_practices/recursive_or_complex_queries
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2023-40180.yaml
- https://github.com/silverstripe/silverstripe-graphql
- https://github.com/silverstripe/silverstripe-graphql/tree/3.8#recursive-or-complex-queries
- https://www.silverstripe.org/download/security-releases/CVE-2023-40180
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Słabość (CWE)
CWE-400- Platforma
- Composer
- Paczka
silverstripe/graphql- Ujawniono
- 17.10.2023
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-v23w-pppm-jh66 - CC BY 4.0
Historia podatności: silverstripe/graphql
Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 8
- Pierwsza → ostatnia
- 06.2021 05.2024
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 4
- Średnia 4
Ujawnienia w latach
- 2021: 2
- 2022: 2
- 2023: 2
- 2024: 2
- 2025: 0
- 2026: 0
-
Silverstripe GraphQL has DDOS Vulnerability due to lack of protection against recursive queries ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.