{"id":"CVE-2013-3239","published":"2013-04-26T01:00:00Z","modified":"2024-08-06T16:00:10Z","title":"phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows remote…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08753,"percentile":0.95283,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:160","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2013-04/0217.html","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-06/msg00181.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/1f6bc0b707002e26cab216b9e57b4d5de764de48","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.phpmyadmin.net/home_page/security/PMASA-2013-3.php","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/d3fafdfba0807068196655e9b6d16c5d1d3ccf8a","tags":["x_refsource_CONFIRM"]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0133","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.06},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2013-04-25"},"first":{"date":"2013-04-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/25003"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=3.5.0, <3.5.8.1"],"patched":["3.5.8.1"],"from":["GHSA-gg36-9346-9qx9"],"provenance":"source"}],"summary":{"text":"The flaw is in phpMyAdmin, in its export handling when a SaveDir directory is configured: affected releases are 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3. An attacker who is a remote authenticated user can supply an export file with a double extension, such as .php.sql, so that the Apache HTTP Server interprets the file as executable and runs arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:08Z"},"euvd":{"id":"EUVD-2022-3948","exploited":false,"provenance":"source"},"exploits":[{"id":25003,"url":"https://www.exploit-db.com/exploits/25003","title":"phpMyAdmin 3.5.8/4.0.0-RC2 - Multiple Vulnerabilities","date":"2013-04-25","verified":true,"provenance":"source"}],"lineage":{"packageHistory":[{"cve":"CVE-2012-4579","published":"2012-08-21","fixed":"3.5.2.2","kev":false},{"cve":"CVE-2012-5339","published":"2012-10-25","fixed":"3.5.3","kev":false},{"cve":"CVE-2012-5368","published":"2012-10-25","fixed":"3.5.3","kev":false,"link":{"from":"CVE-2012-5368","to":"CVE-2013-3239","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"3.5.3","toFixed":"3.5.8.1","daysApart":183}]}},{"cve":"CVE-2013-3239","published":"2013-04-26","fixed":"3.5.8.1","kev":false},{"cve":"CVE-2013-4997","published":"2013-07-30","fixed":"3.5.8.2","kev":false,"link":{"from":"CVE-2013-3239","to":"CVE-2013-4997","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"3.5.8.1","toFixed":"3.5.8.2","daysApart":95}]}},{"cve":"CVE-2013-4729","published":"2013-07-04","fixed":"4.0.4.1","kev":false},{"cve":"CVE-2013-5002","published":"2013-07-30","fixed":"4.0.4.2","kev":false,"link":{"from":"CVE-2013-3239","to":"CVE-2013-5002","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"3.5.8.1","toFixed":"3.5.8.2","daysApart":95}]}}],"package":"Packagist:phpmyadmin/phpmyadmin"}}