GitHub Advisoryadvisory · Packagist

GHSA-mg2g-8pwj-r2j2 Authentication bypass in SilverStripe GraphQL

MEDIUM Published 2021-06-10 Modified 2022-03-15 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

Weakness · CWE (2)

  • CWE-287 Improper Authentication weakness
  • CWE-288 Authentication Bypass Using an Alternate Path or Channel weakness

References