OS Command Injection in phpMyAdmin - CVE-2016-6631
Published: August 4, 2020
Vulnerability details
The vulnerability allows a remote user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation. A user can execute a remote code execution attack against a server when phpMyAdmin is being run as a CGI application. Under certain server configurations, a user can pass a query string which is executed as a command-line argument by the file generator_plugin.sh.
Affected software
Debian Linux
Opensuse
phpmyadmin (Alpine package)
phpmyadmin (Debian package)
How to mitigate CVE-2016-6631
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+deb8u6