Magento 2 Community Unrestricted File Upload
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Feb 12, 2024
Package
Affected versions
>= 2.1, < 2.1.18
>= 2.2, < 2.2.9
>= 2.3, < 2.3.2
Patched versions
2.1.18
2.2.9
2.3.2
Description
Published by the National Vulnerability Database
Aug 2, 2019
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Jul 17, 2023
Last updated
Feb 12, 2024
A file upload restriction bypass exists in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. An authenticated user with administrator privileges to the import feature can make modifications to a configuration file, resulting in potentially unauthorized removal of file upload restrictions. This can result in arbitrary code execution when a malicious file is then uploaded and executed on the system.
References