GitHub Advisoryadvisory · Packagist
GHSA-mg2g-8pwj-r2j2 Authentication bypass in SilverStripe GraphQL
MEDIUM
Official page ↗
- Aliases
- CVE-2020-26136
- Ecosystem
- Packagist
- Packages
- silverstripe/graphql
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-287, CWE-288
- Reviewed
- 2021-06-10
Affected packages
• Packagist silverstripe/graphql: >= 3.0.0, < 3.5.0 → fixed in 3.5.0
• Packagist silverstripe/graphql: >= 4.0.0-alpha1, < 4.0.0-alpha2 → fixed in 4.0.0-alpha2
Description
The GraphQL module accepts basic-auth as an authentication method by default. This can be used to bypass MFA authentication if the silverstripe/mfa module is installed, which is now a commonly installed module. A users password is still required though.
Basic-auth has been removed as a default authentication method. If desired, it can be re-enabled by adding it to the authenticators key of a schema, or on SilverStripe\Graphql\Auth\Handler
Related
Alias · CVE (1)
- CVE-2020-26136 In SilverStripe through 4.6.0-rc1, GraphQL doesn't honour MFA (multi-factor authentication) when using basic authentication. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-26136 advisory
- https://forum.silverstripe.org/c/releases web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2020-26136.yaml web
- https://www.silverstripe.org/blog/tag/release web
- https://www.silverstripe.org/download/security-releases web
- https://www.silverstripe.org/download/security-releases/cve-2020-26136 web