Vulnerability advisory
DRUPAL-CONTRIB-2021-029
Also known as BIT-drupal-2020-13675CVE-2020-13675DRUPAL-CORE-2021-008GHSA-v8wr-r69p-mmwx
Severity
Severity not reported.
Affected versions
drupal/graphql Packagist:https://packages.drupal.org/8
| Affected | Fixed in |
|---|---|
4.0.0 to before 4.2.0 | 4.2.0 |
Description
This advisory addresses a similar issue to Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008.
The GraphQL module allows file uploads through its HTTP API. The module does not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
This vulnerability is mitigated by four factors:
- The GraphQL module must be enabled on the site.
- The GraphQL schema must expose a file upload by using the helper "src/GraphQL/Utility/FileUpload.php" in the module.
- An attacker must have access to that file upload via the GraphQL API.
- The site must employ a file validation module.