Vulnerability identifier: #VU5361
Vulnerability risk: High
CVSSv3.1: 8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N/E:F/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-22
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Magmi
Web applications /
Modules and components for CMS
Vendor: Sebastien Bracquemont
Description
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.1Successful 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.
Mitigation
Install new versions from GitHub:
https://github.com/dweeves/magmi-git
Vulnerable software versions
Magmi: 0.7.17 - 0.7.23
External links
http://github.com/dweeves/magmi-git
http://www.trustwave.com/Resources/SpiderLabs-Blog/Zero-day-in-Magmi-database-client-for-popular-e-...
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.