CVE-2020-13675: Unrestricted Upload of File with Dangerous Type in Drupal core
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.48513%
CWE
Published
2/12/2022
Updated
2/3/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
drupal/core | composer | >= 9.1.0, < 9.1.13 | 9.1.13 |
drupal/core | composer | >= 9.2.0, < 9.2.6 | 9.2.6 |
drupal/core | composer | >= 8.0.0, < 8.9.19 | 8.9.19 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from incomplete file validation in HTTP API handlers. Both REST/File and JSON:API modules contain file upload entry points (POST handlers) that were missing proper validation chaining. These methods are directly responsible for processing upload requests but failed to integrate with Drupal's full file validation stack, allowing dangerous files to bypass security checks. The high confidence comes from: 1) The vulnerability description specifically implicates these two modules' HTTP APIs 2) File upload resources in REST/JSON:API would logically be implemented through POST handler methods 3) The CWE mapping (CWE-434) directly correlates with file upload handling functions.