CVE-2018-12613
HIGH 8.8EPSS 98.4%
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 v3.1
- 8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1
- 8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0
- 6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P - EPSS
- 98.35% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- high · CWE-287
- Published
- 2018-06-21
- Updated
- 2024-08-05
Proof-of-concept exploits (5)
- http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html
- 0x00-0x00/CVE-2018-1261310★ · 2018-11-09
- eastmountyxz/CVE-2018-12613-phpMyAdmin2★ · 2020-02-19
- ivanitlearning/CVE-2018-126134★ · 2019-09-16
- johnkiguru1337/N-Days1★ · 2025-01-28
Nuclei templates (1)
Metasploit modules (1)
ExploitDB entries (4)
- https://www.exploit-db.com/exploits/50457
- https://www.exploit-db.com/exploits/45020
- https://www.exploit-db.com/exploits/44928
- https://www.exploit-db.com/exploits/44924
Vulhub environments (1)
Exploit collections (2)
- chaitin/xray/blob/master/pocs/phpmyadmin-cve-2018-12613-file-inclusion.yml
- zan8in/afrog/blob/main/pocs/afrog-pocs/CVE/2018/CVE-2018-12613.yaml