CVE-2013-3239 in Phpmyadmin
phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows remote authenticated users to execute arbitrary code by using a double extension in the filename of an export file, leading to interpretation of this file as an executable file by the Apache HTTP Server, as demonst...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Phpmyadmin | Phpmyadmin | 3.5.0.0 3.5.1.0 3.5.2.0 3.5.2.1 3.5.2.2 3.5.3.0+6 more3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 4.0.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows remote authenticated users to execute arbitrary code by using a double extension in the filename of an export file, leading to interpretation of this file as an executable file by the Apache HTTP Server, as demonstrated by a .php.sql filename.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-3239 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-167052-M |
| CVSS vector | AV:N/AC:H/Au:S/C:P/I:P/A:P |
| Published | 2013-04-26 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Phpmyadmin systems (CVE-2013-3239). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows remote authenticated users to execute arbitrary code by using a double extension in the filename of an export file, leading to interpretation of this file as an executable file by the Apache HTTP Server, as demonstrated by a .php.sql filename. CVSS vector: AV:N/AC:H/Au:S/C:P/I:P/A:P.
Questions
What is CVE-2013-3239?
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Phpmyadmin systems (CVE-2013-3239). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2013-3239?
CVE-2013-3239 has CVSS 4.6 (Medium). Vector: AV:N/AC:H/Au:S/C:P/I:P/A:P. EPSS: 8.8%.
Is CVE-2013-3239 actively exploited?
Public exploit available for CVE-2013-3239. Exploitation risk elevated.
How do I remediate CVE-2013-3239?
Priority: MONITOR. Advisory: http://www.phpmyadmin.net/home_page/security/PMASA-2013-3.php PSIRT: [email protected]
What systems are affected by CVE-2013-3239?
CVE-2013-3239 affects Phpmyadmin Phpmyadmin.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Phpmyadmin","product":"Phpmyadmin","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.