SB2016070303 - Multiple vulnerabilities in phpMyAdmin
Published: July 3, 2016 Updated: August 9, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 secuirty vulnerabilities.
1) Code Injection (CVE-ID: CVE-2016-5734)
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not properly choose delimiters to prevent use of the preg_replace e (aka eval) modifier, which might allow remote attackers to execute arbitrary PHP code via a crafted string, as demonstrated by the table search-and-replace implementation.
2) Cross-site scripting (CVE-ID: CVE-2016-5732)
Vulnerability allows a remote attacker to perform XSS attacks.
The vulnerability is caused by an input validation error in the partition-range implementation in templates/table/structure/display_partitions.phtml in the table-structure page in phpMyAdmin 4.6.x before 4.6.3 when processing crafted table parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
3) Cross-site scripting (CVE-ID: CVE-2016-5704)
Vulnerability allows a remote attacker to perform Cross-site scripting attacks.
An input validation error exists in the table-structure page in phpMyAdmin 4.6.x before 4.6.3. A remote authenticated attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
4) Security Features (CVE-ID: CVE-2016-5702)
The vulnerability allows a remote non-authenticated attacker to manipulate data.
phpMyAdmin 4.6.x before 4.6.3, when the environment lacks a PHP_SELF value, allows remote attackers to conduct cookie-attribute injection attacks via a crafted URI.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- http://www.securityfocus.com/bid/91387
- https://github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b
- https://github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7
- https://security.gentoo.org/glsa/201701-32
- https://www.exploit-db.com/exploits/40185/
- https://www.phpmyadmin.net/security/PMASA-2016-27/
- https://github.com/phpmyadmin/phpmyadmin/commit/0815af37f483f329f0c0565d68821fea9c47b5f5
- https://github.com/phpmyadmin/phpmyadmin/commit/792cd1262f012b9b13639519d414f2acaeb5e972
- https://www.phpmyadmin.net/security/PMASA-2016-25/
- https://github.com/phpmyadmin/phpmyadmin/commit/72213573182896bd6a6e5af5ba1881dd87c4a20b
- https://www.phpmyadmin.net/security/PMASA-2016-20/
- https://github.com/phpmyadmin/phpmyadmin/commit/27caf5b46bd0890e576fea7bd7b166a0639fdf68
- https://www.phpmyadmin.net/security/PMASA-2016-18/