Vulnerability advisory
GHSA-3h69-4frw-g2jm
Magento 2 Community Unrestricted File Upload
Also known as CVE-2019-7930
Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected versions
| Affected | Fixed in |
|---|---|
2.1 to before 2.1.18 | 2.1.18Advisories → |
2.2 to before 2.2.9 | 2.2.9Advisories → |
2.3 to before 2.3.2 | 2.3.2Advisories → |
Description
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-7930 ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7930.yaml ↗
- Webmagento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13 ↗
- Webweb.archive.org/web/20211206084839/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13 ↗