High severity · published Jun 21, 2018
CVE-2018-12613
An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server
8.8
CVSS
98.4%
EPSS
No
On KEV
Description
An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the "$cfg['AllowArbitraryServer'] = true" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the "$cfg['ServerDefault'] = 0" case (which bypasses the login requirement and runs the vulnerable code without any authentication).
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)98.4% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
Phpmyadmin · Phpmyadmin
4.8.0 before 4.8.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-12613
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-12613
Exploit
http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html
Third Party Advisory
http://www.securityfocus.com/bid/104532
Third Party Advisory
https://security.gentoo.org/glsa/201904-16
Exploit
https://www.exploit-db.com/exploits/44924/
Third Party Advisory
https://www.exploit-db.com/exploits/44928/
Exploit
https://www.exploit-db.com/exploits/45020/
More from Phpmyadmin
9.8
CVE-2009-1151
phpMyAdmin Remote Code Execution Vulnerability
9.8
CVE-2020-22452
SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via the tbl_storage_engine or tbl_collation parameters to…
9.8
CVE-2020-26935
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3
9.8
CVE-2019-19617
phpMyAdmin before 4.9.2 does not escape certain Git information, related to libraries/classes/Display/GitRevision.php and libraries/classes/Footer.php
9.8
CVE-2019-18622
An issue was discovered in phpMyAdmin before 4.9.2
