phpMyAdmin Remote Code Execution
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | phpmyadmin/phpmyadmin | >= 3.5.0, < 3.5.8.1 | 3.5.8.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-3239
- https://github.com/phpmyadmin/phpmyadmin/commit/1f6bc0b707002e26cab216b9e57b4d5de764de48
- https://github.com/phpmyadmin/phpmyadmin/commit/d3fafdfba0807068196655e9b6d16c5d1d3ccf8a
- https://github.com/phpmyadmin/phpmyadmin
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html
- http://lists.opensuse.org/opensuse-updates/2013-06/msg00181.html
- http://www.phpmyadmin.net/home_page/security/PMASA-2013-3.php
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-94- Platform
- Composer
- Package
phpmyadmin/phpmyadmin- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-gg36-9346-9qx9 - CC BY 4.0
Vulnerability history: phpmyadmin/phpmyadmin
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 107
- First → latest
- 01.2020 01.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 10
- High 28
- Medium 56
- Low 13
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 103
- 2023: 2
- 2024: 0
- 2025: 1
- 2026: 0
-
phpMyAdmin Remote Code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.