Arbitrary file upload in Magento Open Source - CVE-2019-7912

 

Arbitrary file upload in Magento Open Source - CVE-2019-7912

Published: August 3, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU30920
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-7912
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to execute arbitrary code.

A file upload filter 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. This can be exploited by an authenticated user with admin privileges to edit configuration keys to remove file extension filters, potentially resulting in the malicious upload and execution of malicious files on the server.


Affected software

Magento Open Source

How to mitigate CVE-2019-7912

Install update from vendor's website.

Magento Open Source - update to 2.3.2

External References

Related Security Bulletins