CVE-2018-12613: An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potential
CVE-2018-12613 is a high-severity flaw (CVSS 8.8) affecting phpmyadmin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 contro
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 98.4% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2018-06-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit)
- Exploit-DB: phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (1)
- Exploit-DB: phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (2)
- Exploit-DB: phpMyAdmin 4.8.1 - Remote Code Execution (RCE)
- Metasploit: phpMyAdmin Authenticated Remote Code Execution
- Nuclei scan template: PhpMyAdmin <4.8.2 - Local File Inclusion
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-12613?
phpmyadmin: upgrade to 4.8.2. Exact commands for each OS are on this page.
Is CVE-2018-12613 being exploited?
CVE-2018-12613 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-12613 affect?
CVE-2018-12613 affects phpmyadmin. Severity is high (CVSS 8.8). 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 phpMy
How urgent is CVE-2018-12613?
Priority 61/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2026-119426 HIGH 7.5 UPGRADE phpMyAdmin through 5.2.3 contains a cross-site request forgery vulnerability that allows remote attackers to e
- CVE-2026-119427 MEDIUM 4.2 UPGRADE phpMyAdmin through 5.2.3 contains an sql injection vulnerability in Designer saveSetting() that allows authent
- CVE-2026-119428 LOW 3.7 UPGRADE phpMyAdmin through 5.2.3 contains a server-side request forgery vulnerability that allows unauthenticated atta
- CVE-2026-119429 MEDIUM 4.3 UPGRADE phpMyAdmin through 5.2.3 contains a missing re-authentication vulnerability that allows authenticated attacker
- CVE-2026-119561 MEDIUM 6.8 UPGRADE phpMyAdmin through 5.2.3 contains an authentication bypass vulnerability in CustomServer::parseAndValidateAsse