SB2014101301 - Directory traversal in Magmi plugin for Magento



SB2014101301 - Directory traversal in Magmi plugin for Magento

Published: October 14, 2015 Updated: March 11, 2017

Security Bulletin ID SB2014101301
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Directory traversal (CVE-ID: N/A)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Amber


The vulnerability allows a remote attacker to obtain potentially sensitive information on the target sustem.

The weakness exists due to improper filtration of user-supplied input passed via the "file" HTTP GET parameter to  "/magmi-importer/web/download_file.php" script. A remote attacker can use directory traversal sequences (e.g. "../../") to view contents of arbitrary files on the target system. 

Exploitation example observed in the wild:
GET /…sanitized…/magmi-importer/web/download_file.php?file=../../app/etc/local.xml HTTP/1.1
Successful exploitation of the vulnerability results in disclosure of confidential and sensitive information from the root folder of the application. In case of Magento, the "/app/etc/local.xml" file contains credentials and encryption keys.

Note: the vulnerability was being actively exploited.



Remediation

Install update from vendor's website.