ASA-2019-00181 – Magento: Sensitive data disclosure due to NGINX configuration’s regular expressions not being restricted to the explicit directories


Allele Security Alert

ASA-2019-00181

Identifier(s)

ASA-2019-00181, PRODSECBUG-2165

Title

Sensitive data disclosure due to NGINX configuration’s regular expressions not being restricted to the explicit directories

Vendor(s)

Magento

Product(s)

Magento

Affected version(s)

Magento 2.1 prior to 2.1.17
Magento 2.2 prior to 2.2.8
Magento 2.3 prior to 2.3.1

Fixed version(s)

Magento 2.1.17
Magento 2.2.8
Magento 2.3.1

Proof of concept

Unknown

Description

An authenticated user with administrative privileges can upload PHP files to access sensitive data because NGINX configuration allows PHP files to be executed in any directory.

Technical details

Unknown

Credits

Kieren Evans

Reference(s)

Magento 2.3.1, 2.2.8 and 2.1.17 Security Update
https://magento.com/security/patches/magento-2.3.1-2.2.8-and-2.1.17-security-update

If there is any error in this alert or you wish a comprehensive analysis, let us know.

Last modified: April 15, 2019

We are not responsible for any data loss, device corruption or any other type of issue due to the use of any information mentioned in our security alerts.