DRUPAL-CONTRIB-2021-029
Dashboard / Vulnerabilities / DRUPAL-CONTRIB-2021-029
DRUPAL-CONTRIB-2021-029
Summary:
Details: This advisory addresses a similar issue to [Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008](https://www.drupal.org/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: 1. The GraphQL module must be enabled on the site. 2. The GraphQL schema must expose a file upload by using the helper "src/GraphQL/Utility/FileUpload.php" in the module. 3. An attacker must have access to that file upload via the GraphQL API. 4. The site must employ a file validation module.
References: https://www.drupal.org/sa-contrib-2021-029
Affected packages
Package
Name: drupal/graphql
Purl: pkg:composer/drupal/graphql?repository_url=https:%2F%2Fpackages.drupal.org%2F8
Affected ranges
Type: ECOSYSTEM
Events:
