GitHub Advisory Database
GHSA-gg36-9346-9qx9
phpMyAdmin Remote Code Execution
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | From 3.5.0 before 3.5.8.1 (fixed in 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