CVE-2014-8770: Dweeves/magmi MAGMI Plugin For Magento Unsafe Vulnerability
HIGHCVE-2014-8770 is a HIGH magmi plugin for magento unsafe vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Dweeves/magmi libraries in the Packagist ecosystem. The issue involves magmi plugin for magento unsafe file upload. Remediation is available in the latest vendor maintenance releases.
CVE-2014-8770 at a Glance
How to Fix CVE-2014-8770
To remediate this vulnerability, upgrade all affected Dweeves/magmi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade dweeves/magmi to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for dweeves/magmi
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-8770, inspect your project dependencies for Dweeves/magmi:
inspect dependencies for dweeves/magmi
Analyze the terminal output to locate any version of Dweeves/magmi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Dweeves/magmi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-8770 Affected Dweeves/magmi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dweeves/magmi
|
Packagist |
≤ 0.7.17a
|
|
References
Frequently Asked Questions
What is CVE-2014-8770?
Which Dweeves/magmi versions are affected?
What version fixes CVE-2014-8770?
Is dweeves/magmi affected?
What CWE is associated with CVE-2014-8770?
How can I check Packagist dependencies for CVE-2014-8770?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x3gh-95p8-43qv",
"modified" : "2023-08-07T20:02:36Z",
"published" : "2022-05-14T00:56:27Z",
"aliases" : [ "CVE-2014-8770" ],
"summary" : "MAGMI plugin for Magento Unsafe File Upload",
"details" : "Unrestricted file upload vulnerability in `magmi/web/magmi.php` in the MAGMI (aka Magento Mass Importer) plugin 0.7.17a and earlier for Magento Community Edition (CE) allows remote authenticated users to execute arbitrary code by uploading a ZIP file that contains a PHP file, then accessing the PHP file via a direct request to it in `magmi/plugins/`.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "dweeves/magmi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.7.17a"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-8770"
}, {
"type" : "WEB",
"url" : "https://sourceforge.net/projects/magmi/files/magmi-0.7/plugins/packages"
}, {
"type" : "WEB",
"url" : "http://www.exploit-db.com/exploits/35052"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-07T20:02:36Z",
"nvd_published_at" : "2014-11-13T21:32:00Z"
}
}