← Vulnerability feed

Vulnerability record · CVE-2015-1397 · published 29 April 2015

CVE-2015-1397: Magento Admin Grid getCsvFile SQL Injection

MMagento · Magento

Magento Community Edition 1.9.1.0 and Enterprise Edition 1.14.1.0 contain a SQL injection flaw in the getCsvFile function of the Mage_Adminhtml_Block_Widget_Grid class. The popularity[field_expr] parameter is not properly sanitized when popularity[from] or popularity[to] is set, allowing an authenticated administrator to inject arbitrary SQL commands. This matters because it gives an admin-level attacker direct database access, which can lead to data theft or further compromise.

6.5 CVSS 2.0 Medium EPSS 52% · top 1.1% CWE-89 · SQL injection
6.5CVSS 2.0 base score
52%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:S/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

medium priorityThe flaw requires administrator authentication, limiting exposure, but public exploit activity and a high EPSS score make it a realistic risk for unpatched Magento installations.

What it is

Magento Community Edition 1.9.1.0 and Enterprise Edition 1.14.1.0 contain a SQL injection flaw in the getCsvFile function of the Mage_Adminhtml_Block_Widget_Grid class. The popularity[field_expr] parameter is not properly sanitized when popularity[from] or popularity[to] is set, allowing an authenticated administrator to inject arbitrary SQL commands. This matters because it gives an admin-level attacker direct database access, which can lead to data theft or further compromise.

Impact

An attacker with administrator privileges can execute arbitrary SQL commands against the Magento database, potentially reading, modifying, or deleting sensitive data. This could expose customer records, order information, or administrative credentials.

Attack surface

The vulnerability is reached remotely over the network through the admin interface, specifically via the getCsvFile function when the popularity[field_expr] parameter is supplied alongside popularity[from] or popularity[to]. Authentication as an administrator is required; no user interaction beyond the crafted request is needed.

Exploitation

The record does not list this CVE in CISA KEV, but EPSS shows a 30-day probability of 0.52284 (98.9th percentile), and a reference is tagged Exploit, indicating public exploit activity exists.

What to do

  • Apply the vendor security patch or upgrade Magento CE/EE to a version that fixes the SQL injection in getCsvFile.
  • Restrict admin panel access to trusted IP addresses and enforce strong authentication to reduce the attack surface.
  • Audit administrator accounts and remove or disable unnecessary admin privileges.
  • Monitor database activity for unusual SQL queries originating from the admin interface.

Detection

  • Search web server and application logs for requests containing popularity[field_expr] with SQL meta-characters or unusual syntax.
  • Monitor database query logs for unexpected SELECT, UNION, or stacked queries from the Magento application user.
  • Alert on admin panel requests that combine popularity[from] or popularity[to] with popularity[field_expr] parameters.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2015-1397 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-34256Adobe commerce improper authorization vulnerabilityAdobe Commerce versions 2.4.3-p2 (and earlier), 2.3.7-p3 (and earlier) and 2.4.4 (and earlier) are affected by an Improper Authorization vulnerabilit…EPSS 2.1%9.8CVE-2020-9664Magento deserialization of untrusted data vulnerabilityMagento versions 1.14.4.5 and earlier, and 1.9.4.5 and earlier have a php object injection vulnerability. Successful exploitation could lead to arbit…EPSS 8.4%9.8CVE-2020-9583Magento command injection vulnerabilityMagento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a command injection vulnerabili…EPSS 5.7%9.8CVE-2020-9585Magento vulnerabilityMagento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a defense-in-depth security mit…EPSS 4.9%9.8CVE-2020-9630Magento vulnerabilityMagento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a business logic error vulnerab…EPSS 4.0%9.8CVE-2020-9631Magento vulnerabilityMagento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a security mitigation bypass vu…EPSS 7.4%9.8CVE-2020-9632Magento vulnerabilityMagento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a security mitigation bypass vu…EPSS 7.4%9.8CVE-2020-9576Magento command injection vulnerabilityMagento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a command injection vulnerabili…EPSS 5.7%

Source: NIST National Vulnerability Database (record CVE-2015-1397), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.