CVE-2015-6497 Magento arbitrary PHP code execution via the productData parameter
Authenticated attackers can execute arbitrary PHP code via the productData parameter in Magento's API when running on vulnerable PHP versions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-6497?
CVE-2015-6497 is a high-severity code injection vulnerability in Magento Magento, published on 15 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The create function in app/code/core/Mage/Catalog/Model/Product/Api/V2.php in Magento Community Edition (CE) before 1.9.2.1 and Enterprise Edition (EE) before 1.14.2.1, when used with PHP before 5.4.24 or 5.5.8, allows remote authenticated users to execute arbitrary PHP code via the productData parameter to index.php/api/v2_soap.
Weakness: CWE-20
Which versions are affected by CVE-2015-6497?
2 open source packages ship an affected version, including magento/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
magento/core Packagist | All versions | 1.9.2.1 |
magento/core Packagist | All versions | 1.9.2.1 |
Products include Magento Magento.
How do I fix CVE-2015-6497?
Upgrade magento/core to 1.9.2.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2015-6497 being exploited?
There is no known exploitation of CVE-2015-6497 in the wild and no public exploit code.
Other vulnerabilities in Magento Magento
Sources
Also known as GHSA-j4fq-3fm7-wh5v.