CVE-2018-12613

HIGHNVD 8.89.0
EchelonGraph scoreMEDIUM confidence

Score elevated to 9.0 because EPSS predicts 98% probability of exploitation within the next 30 days (top 0.1% of all CVEs). NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.

Triggered by: EPSS exploit prediction ≥85%
Sources: epss, nvd
Weaponized
8.8
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 98%
CISA-KEV: Not listedEPSS: 98%CVSS: 8.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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
8.8
EG Score
9.0(medium)
EG Risk
84(Track)
EG Risk 84/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity90% × 45%
Exploitation98% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS
99.9%
KEV
Not listed

Published

June 21, 2018

Last Modified

November 21, 2024

Affected Packages

(1 across 1 ecosystem)
Packagist(1)
PackageVulnerable rangeFixed inDependents
phpmyadmin/phpmyadmin4.8.0, 4.8.0.1, 4.8.14.8.2

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 3× in last 7d / 8× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-23 01:33 UTCEG score recompute
  2. 2026-07-22 22:13 UTCEG score recompute
  3. 2026-07-21 10:18 UTCOSV refresh
  4. 2026-07-13 06:10 UTCEPSS rescore
  5. 2026-07-12 05:43 UTCEPSS rescore
  6. 2026-07-09 19:06 UTCEPSS rescore
  7. 2026-07-04 05:56 UTCOSV refresh
  8. 2026-07-02 16:54 UTCEPSS rescore
  9. 2026-06-15 17:45 UTCEPSS rescore
  10. 2026-06-15 17:43 UTCOSV refresh
  11. 2026-05-31 22:29 UTCEPSS rescore
  12. 2026-05-31 22:28 UTCEPSS rescore
  13. 2026-05-28 06:25 UTCEG score recompute
  14. 2026-05-27 13:38 UTCEPSS rescore
  15. 2026-05-27 13:38 UTCEPSS rescore
  16. 2026-05-26 19:13 UTCOSV refresh
  17. 2026-05-26 13:42 UTCEPSS rescore
  18. 2026-05-26 13:42 UTCEPSS rescore

Publicly available exploits

(9 references)

Working exploit code is in the public domain (1 Metasploit module) (3 GitHub PoCs) (4 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-50457✓ verified
    First seen Oct 25, 2021

    phpMyAdmin 4.8.1 - Remote Code Execution (RCE)

    Open source ↗
  • GitHub PoCeastmountyxz/CVE-2018-12613-phpMyAdmin
    First seen Feb 19, 2020

    这篇文章将分享一个phpMyAdmin 4.8.1版本的文件包含漏洞,从配置到原理,再到漏洞复现进行讲解,更重要的是让大家了解这些真实漏洞背后的知识。基础性文章,希望对您有所帮助!

    Open source ↗
  • GitHub PoCivanitlearning/CVE-2018-12613
    First seen Sep 16, 2019

    Modified standalone exploit ported for Python 3

    Open source ↗
  • GitHub PoC0x00-0x00/CVE-2018-12613
    First seen Nov 9, 2018

    PHPMyAdmin v4.8.0 and v.4.8.1 LFI exploit

    Open source ↗
  • Exploit-DBEDB-45020✓ verified
    First seen Jul 13, 2018

    phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit)

    Open source ↗
  • Exploit-DBEDB-44928✓ verified
    First seen Jun 22, 2018

    phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (2)

    Open source ↗
  • Exploit-DBEDB-44924✓ verified
    First seen Jun 21, 2018

    phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (1)

    Open source ↗
  • Metasploitexploit/multi/http/phpmyadmin_lfi_rce✓ verified
    First seen Jun 19, 2018

    phpMyAdmin Authenticated Remote Code Execution

    Open source ↗
  • Nucleihttp/cves/2018/CVE-2018-12613.yaml
    First seen Jan 1, 2018

    PhpMyAdmin <4.8.2 - Local File Inclusion

    Open source ↗

Frequently asked(5)

What is CVE-2018-12613?
CVE-2018-12613 is a high vulnerability published on June 21, 2018. 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…
When was CVE-2018-12613 disclosed?
CVE-2018-12613 was first published in the National Vulnerability Database on June 21, 2018, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2018-12613 actively exploited?
CVE-2018-12613 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 99.9% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2018-12613?
CVE-2018-12613 has a CVSS v3 base score of 8.8 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0.
How do I remediate CVE-2018-12613?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2018-12613, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-12613

Explore →

Is Your Infrastructure Affected by CVE-2018-12613?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.