#VU33344 OS Command Injection in phpMyAdmin


Published: 2020-08-04

Vulnerability identifier: #VU33344

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-6631

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
phpMyAdmin
Web applications / Remote management & hosting panels

Vendor: phpMyAdmin

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

phpMyAdmin: 4.6 - 4.6.3, 4.5.0 - 4.5.5.1, 4.4 - 4.4.15.7, 4.3.0 - 4.3.13.3, 4.2.0 - 4.2.13.3, 4.1.0 - 4.1.14.8, 4.0 - 4.0.10.16


External links
http://www.securityfocus.com/bid/92496
http://lists.debian.org/debian-lts-announce/2019/06/msg00009.html
http://security.gentoo.org/glsa/201701-32
http://www.phpmyadmin.net/security/PMASA-2016-54


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability