Code Injection in phpMyAdmin - CVE-2013-3239

 

Code Injection in phpMyAdmin - CVE-2013-3239

Published: April 26, 2013 / Updated: August 11, 2020


Vulnerability identifier: #VU42865
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-3239
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote #AU# to read and manipulate data.

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

phpMyAdmin
Gentoo Linux
Fedora
phpMyAdmin3
phpMyAdmin

How to mitigate CVE-2013-3239

Install update from vendor's website.

phpMyAdmin3 - update to 3.5.8.1-1.el5
phpMyAdmin - update to 3.5.8.1-1.el6

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins