Path traversal in phpMyAdmin - CVE-2016-6614

 

Path traversal in phpMyAdmin - CVE-2016-6614

Published: December 11, 2016 / Updated: August 4, 2020


Vulnerability identifier: #VU33613
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-6614
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

An issue was discovered in phpMyAdmin involving the %u username replacement functionality of the SaveDir and UploadDir features. When the username substitution is configured, a specially-crafted user name can be used to circumvent restrictions to traverse the file system. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.


Affected software

phpMyAdmin
Debian Linux
Opensuse
phpmyadmin (Alpine package)
phpmyadmin (Debian package)

How to mitigate CVE-2016-6614

Install update from vendor's website.

phpmyadmin (Alpine package) - update to 4.4.15.8-r0
phpmyadmin (Debian package) - addressed in versions 4:3.4.11.1-2+deb7u6, 4:4.2.12-2+deb8u3

External References

Related Security Bulletins