CVE-2015-1397 SQL injection in n/a

Medium 6.5 Published Updated

Remote administrators can execute arbitrary SQL commands via the grid export functionality, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2015-1397?

CVE-2015-1397 is a medium-severity SQL injection vulnerability in Magento Magento, published on 29 Apr 2015. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

SQL injection vulnerability in the getCsvFile function in the Mage_Adminhtml_Block_Widget_Grid class in Magento Community Edition (CE) 1.9.1.0 and Enterprise Edition (EE) 1.14.1.0 allows remote administrators to execute arbitrary SQL commands via the popularity[field_expr] parameter when the popularity[from] or popularity[to] parameter is set.

Weakness: CWE-89

Which versions are affected by CVE-2015-1397?

It affects 1 product.

Products include Magento Magento.

How do I fix CVE-2015-1397?

No fix has been published for CVE-2015-1397 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2015-1397 being exploited?

There is no known exploitation of CVE-2015-1397 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 4 proofs of concept on GitHub.

All Magento Magento vulnerabilities

Sources

Also known as GHSA-74wx-cgv2-vqc6.

Is CVE-2015-1397 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free