CVE-2016-6631 Command injection in n/a
Remote attackers can execute arbitrary commands on servers running phpMyAdmin as a CGI application due to improper input handling in generator_plugin.sh.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-6631?
CVE-2016-6631 is a high-severity command injection vulnerability in Phpmyadmin Phpmyadmin, published on 11 Dec 2016. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue was discovered in phpMyAdmin. 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. 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.
Weakness: CWE-78
Which versions are affected by CVE-2016-6631?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2016-6631?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2016-6631 being exploited?
There is no known exploitation of CVE-2016-6631 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as ALPINE-CVE-2016-6631, DEBIAN-CVE-2016-6631, GHSA-5r36-wxjq-vcfh, UBUNTU-CVE-2016-6631.