Unrestricted Upload of File with Dangerous Type in Drupal core
Critical severity
GitHub Reviewed
Published
Feb 12, 2022
to the GitHub Advisory Database
•
Updated Feb 3, 2023
Package
Affected versions
>= 9.1.0, < 9.1.13
>= 9.2.0, < 9.2.6
>= 8.0.0, < 8.9.19
Patched versions
9.1.13
9.2.6
8.9.19
Description
Published by the National Vulnerability Database
Feb 11, 2022
Published to the GitHub Advisory Database
Feb 12, 2022
Reviewed
Feb 23, 2022
Last updated
Feb 3, 2023
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.
References