(CVE-2020-13675)
Vulnerability from drupal – Published: 2021-09-15 15:30 – Updated: 2023-08-11 17:03 – Source websiteThis 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.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"affected_versions": "\u003e=4.0.0 \u003c4.2.0"
},
"package": {
"ecosystem": "Packagist:https://packages.drupal.org/8",
"name": "drupal/graphql"
},
"ranges": [
{
"database_specific": {
"constraint": "\u003e=4.0.0 \u003c4.2.0"
},
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.2.0"
}
],
"type": "ECOSYSTEM"
}
],
"severity": []
}
],
"aliases": [
"CVE-2020-13675"
],
"credits": [
{
"contact": [
"https://www.drupal.org/user/262198"
],
"name": "Klaus Purer"
}
],
"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).\n\nThe 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.\n\nThis vulnerability is mitigated by four factors:\n\n1. The GraphQL module must be enabled on the site.\n2. The GraphQL schema must expose a file upload by using the helper \"src/GraphQL/Utility/FileUpload.php\" in the module.\n3. An attacker must have access to that file upload via the GraphQL API.\n4. The site must employ a file validation module.",
"id": "DRUPAL-CONTRIB-2021-029",
"modified": "2023-08-11T17:03:09.000Z",
"published": "2021-09-15T15:30:15.000Z",
"references": [
{
"type": "WEB",
"url": "https://www.drupal.org/sa-contrib-2021-029"
}
],
"schema_version": "1.7.0"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.