ADVISORIES

GitHub Advisory Database

GHSA-mg2g-8pwj-r2j2

Authentication bypass in SilverStripe GraphQL

Details

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

Affected packages

EcosystemPackageAffected versions
Packagistsilverstripe/graphql
From 3.0.0 before 3.5.0 (fixed in 3.5.0)
Packagistsilverstripe/graphql
From 4.0.0-alpha1 before 4.0.0-alpha2 (fixed in 4.0.0-alpha2)

References