{"id":"GHSA-mg2g-8pwj-r2j2","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.\n\nBasic-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","aliases":["BIT-silverstripe-2020-26136","CVE-2020-26136"],"modified":"2024-02-17T05:36:28.183403Z","published":"2021-06-10T17:21:33Z","database_specific":{"github_reviewed_at":"2021-06-10T14:41:10Z","nvd_published_at":"2021-06-08T20:15:00Z","cwe_ids":["CWE-287","CWE-288"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26136"},{"type":"WEB","url":"https://forum.silverstripe.org/c/releases"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/graphql/CVE-2020-26136.yaml"},{"type":"WEB","url":"https://www.silverstripe.org/blog/tag/release"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/cve-2020-26136"}],"affected":[{"package":{"name":"silverstripe/graphql","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/graphql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.0"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.0-rc1","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.2.0","3.2.0-alpha1","3.2.0-rc1","3.2.0-rc2","3.2.1","3.2.2","3.2.3","3.2.4","3.3.0","3.3.0-beta1","3.3.0-rc1","3.4.0","3.4.0-beta1","3.4.0-rc1","3.4.1","3.5.0-beta1","3.5.0-rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-mg2g-8pwj-r2j2/GHSA-mg2g-8pwj-r2j2.json"}},{"package":{"name":"silverstripe/graphql","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/graphql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-alpha1"},{"fixed":"4.0.0-alpha2"}]}],"versions":["4.0.0-alpha1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-mg2g-8pwj-r2j2/GHSA-mg2g-8pwj-r2j2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}