Permissions, Privileges, and Access Controls in phpMyAdmin - CVE-2016-9849
Published: December 11, 2016 / Updated: August 4, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
An issue was discovered in phpMyAdmin. It is possible to bypass AllowRoot restriction ($cfg['Servers'][$i]['AllowRoot']) and deny rules for username by using Null Byte in the username. All 4.6.x versions (prior to 4.6.5), 4.4.x versions (prior to 4.4.15.9), and 4.0.x versions (prior to 4.0.10.18) are affected.
Affected software
Debian Linux
Ubuntu
phpmyadmin (Alpine package)
phpmyadmin (Debian package)
phpmyadmin (Ubuntu package)
How to mitigate CVE-2016-9849
phpmyadmin (Debian package) - addressed in versions 4:3.4.11.1-2+deb7u7, 4:4.2.12-2+deb8u6
phpmyadmin (Ubuntu package) - addressed in versions 4:4.0.10-1ubuntu0.1+esm4, 4:4.5.4.1-2ubuntu2.1+esm6, 4:4.6.6-5ubuntu0.5+esm1, 4:4.9.5+dfsg1-2ubuntu0.1~esm1