CVE-2015-6497: Magento arbitrary PHP code execution via the productData parameter

magento/core Updated 02 Oct 2025

Summary

24/05/2022
Yes i
High
8.8

CVE-2015-6497: Magento arbitrary PHP code execution via the productData parameter. Affects magento/core versions < 1.9.2.1. Fixed in 1.9.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Magento is an open-source e-commerce platform that provides a flexible and scalable solution for online businesses. It is widely used for creating and managing online stores. The vulnerability in question affects Magento Community Edition (CE) before version 1.9.2.1 and Enterprise Edition (EE) before version 1.14.2.1. The specific vulnerability lies in the create function of the app/code/core/Mage/Catalog/Model/Product/Api/V2.php file. When this function is used with PHP versions prior to 5.4.24 or 5.5.8, remote authenticated users can exploit the vulnerability by executing arbitrary PHP code via the productData parameter in the index.php/api/v2_soap endpoint.

Vulnerability Detail

The vulnerability allows remote authenticated users to execute arbitrary PHP code on the affected Magento instances. By manipulating the productData parameter, an attacker can inject malicious PHP code that will be executed within the context of the Magento application. This can lead to various consequences, including unauthorized access, data theft, and further compromise of the affected system. The vulnerability is considered high severity with a CVSS score of 8.8.

How To Fix

Minimum fixed version

1.9.2.1

This is the first release that contains the fix.

composer require magento/core:1.9.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to the patched versions of Magento and using a secure PHP version.

Conclusion

The vulnerability in Magento allows remote authenticated users to execute arbitrary PHP code, potentially leading to unauthorized access and data theft. It is crucial to upgrade to the patched versions of Magento and use a secure PHP version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for magento/core →

Share this vulnerability

FAQ

Magento is an open-source e-commerce platform used for creating and managing online stores.

Magento Community Edition (CE) before version 1.9.2.1 and Enterprise Edition (EE) before version 1.14.2.1 are affected.

An attacker with remote authenticated access can exploit this vulnerability by manipulating the productData parameter in the index.php/api/v2_soap endpoint to execute arbitrary PHP code.

The vulnerability can lead to unauthorized access, data theft, and further compromise of the affected Magento instance.

The vulnerability is considered high severity with a CVSS score of 8.8.

Related vulnerabilities

Recent vulnerabilities recorded for magento/core.

How To Fix

Minimum fixed version

1.9.2.1

This is the first release that contains the fix.

composer require magento/core:1.9.2.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback