CVE-2021-28661 SilverStripe GraphQL Server permission checker not inherited by query subclass.
Attackers can bypass permission checks in SilverStripe GraphQL Server due to a failure to inherit the default permission checker in query subclasses.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-28661?
CVE-2021-28661 is a medium-severity missing authorization vulnerability in Silverstripe Silverstripe, published on 7 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Default SilverStripe GraphQL Server (aka silverstripe/graphql) 3.x through 3.4.1 permission checker not inherited by query subclass.
Weakness: CWE-863
Which versions are affected by CVE-2021-28661?
3 open source packages ship an affected version, including silverstripe/graphql and silverstripe. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/graphql Packagist | From 3.0.0 | 3.5.2 |
silverstripe/graphql Packagist | From 3.0.0 | 3.5.2 |
silverstripe Bitnami | From 3.0.0 | 3.4.1 |
Products include Silverstripe Silverstripe.
How do I fix CVE-2021-28661?
Upgrade silverstripe/graphql to 3.5.2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-28661 being exploited?
There is no known exploitation of CVE-2021-28661 in the wild and no public exploit code.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as BIT-silverstripe-2021-28661, GHSA-r7rh-g777-g5gx.