CVE-2018-12613: File inclusion in phpMyAdmin before 4.8.2
- Vendor
- Phpmyadmin
CVE-2018-12613 is a file-inclusion vulnerability in phpMyAdmin 4.8.x before 4.8.2. Improper validation of whitelisted pages in the page-redirection and loading logic allows attackers to include server-side files, potentially exposing their contents or executing code. Exploitation normally requires authentication, but configurations enabling AllowArbitraryServer or setting ServerDefault to 0 provide exceptions to that requirement.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disclose server-side file contents and potentially execute included files. With AllowArbitraryServer enabled, an attacker controlling a host that can be selected as the database server can execute arbitrary code on the phpMyAdmin server. Earlier Zerobot variants and Wszero used this vulnerability as a propagation vector; Zerobot 1.1 removed the exploit.
Mitigation
If you can’t patch tonight, do this now.
As interim risk reduction, disable AllowArbitraryServer and avoid setting ServerDefault to 0 to eliminate the identified authentication exceptions. These configuration changes do not fix the underlying file-inclusion vulnerability or prevent exploitation by authenticated attackers.
Remediation
Patch, then assume compromise.
Upgrade affected phpMyAdmin 4.8.x installations to version 4.8.2 or a later supported release.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-12613 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2018-12613?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2018-12613, the earliest disclosed Jun 19, 2018.
- Is there a patch for CVE-2018-12613?
- Upgrade affected phpMyAdmin 4.8.x installations to version 4.8.2 or a later supported release.
- What products are affected by CVE-2018-12613?
- Phpmyadmin.
- How severe is CVE-2018-12613?
- CVE-2018-12613 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 98.4% (100th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.