CVE-2020-13675 Unrestricted Upload of File with Dangerous Type in Drupal core
Attackers can bypass file validation in Drupal's JSON:API and REST/File modules to upload malicious files, requiring immediate patching.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13675?
CVE-2020-13675 is a critical vulnerability in Drupal Drupal, published on 11 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do 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.
Which versions are affected by CVE-2020-13675?
8 open source packages ship an affected version, including drupal/core and drupal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/core Packagist | From 8.0.0 | 8.9.19, 9.1.13, 9.2.6 |
drupal/core Packagist | From 8.0.0 | 8.9.19 |
drupal/core Packagist | From 8.0.0 | 8.9.19 |
drupal/core Packagist | From 9.1.0 | 9.1.13 |
drupal/core Packagist | From 9.1.0 | 9.1.13 |
drupal/core Packagist | From 9.2.0 | 9.2.6 |
2 more packages
drupal/core Packagist | From 9.2.0 | 9.2.6 |
drupal Bitnami | From 8.0.0 | 8.9.19, 9.1.13, 9.2.6 |
Linux distribution packages (1)
drupal/graphql Packagist:https://packages.drupal.org/8 | From 4.0.0 | 4.2.0 |
Products include Drupal Drupal.
How do I fix CVE-2020-13675?
Upgrade drupal/core to a fixed version for your release line: 8.9.19, 9.1.13 or 9.2.6.
Is CVE-2020-13675 being exploited?
There is no known exploitation of CVE-2020-13675 in the wild and no public exploit code.
Other vulnerabilities in Drupal Drupal
Sources
Also known as BIT-drupal-2020-13675, DRUPAL-CONTRIB-2021-029, DRUPAL-CORE-2021-008, GHSA-v8wr-r69p-mmwx.