Advisory

GHSA-mg2g-8pwj-r2j2

Also known as: BIT-silverstripe-2020-26136, CVE-2020-26136

Summary

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-10 17:21 UTC
Modified
2024-02-17 05:36 UTC

Affected packages and fixes

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.5.0 (ecosystem)

Fixed versions

3.5.0

Fix

The export has no generic command for this ecosystem.

silverstripe/graphql

Packagist · All systems

Affected

  • introduced 4.0.0-alpha1, fixed 4.0.0-alpha2 (ecosystem)

Fixed versions

4.0.0-alpha2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences