CVE-2018-12613

CRITICALNVD 8.89.0
EchelonGraph scoreHIGH confidence

“▲” beside the score: it is higher than NVD's CVSS score.

Score elevated to 9.0 because EPSS predicted 98% probability of exploitation within the next 30 days (99th percentile of EPSS-scored CVEs) when EchelonGraph scored this CVE. NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.

Triggered by: EPSS exploit prediction (continuous uplift above 30%)
Sources: EPSS, NVD CVSS v3
Weaponized
9.0EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High exploitation likelihood — EPSS 98%
  • Public exploit code is available (Metasploit, Exploit-DB, marked verified by Exploit-DB, other public proof-of-concept code)
CISA-KEV: Not listedEPSS PROB: 98%CVSS: 8.8Exploit: Metasploit · Exploit-DB (verified) · other public PoCExposed services: Not assessed

A fix is available — apply it.

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.0CRITICALhigh confidence
EG Risk
79
EG Risk 79/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity88% × 45%
Impact severity (EG Severity): CVSS 8.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation98% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.
Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
98%
EPSS %ILE
99th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.0): severity, escalated by confirmed exploitation. This CVE's 9.0 is EPSS's lift toward 9.0 from its impact severity (EG Severity, CVSS 8.8 HIGH): a likelihood of exploitation, not impact.

EG Severity
8.8 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.NVD CVSS v3 · CVSS v3.0 or v3.1
EG Likelihood
98% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-22). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track* at medium mission impactTrack at low, Track* at medium and Attend at high mission impact.CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

June 21, 2018

Last Modified

November 21, 2024

Advisory Details (7)

Auto-updated Aug 19, 2026
Patch available.
Web page

phpMyAdmin: Multiple vulnerabilities (GLSA 201904-16) — Gentoo security

https://security.gentoo.org/glsa/201904-16
Web page

CVE-2018-12613 - PSIRT.COM

http://www.securityfocus.com/bid/104532
Web page

PMASA-2018-4 · phpMyAdmin

https://www.phpmyadmin.net/security/PMASA-2018-4/
Web page

phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit) - PHP remote Exploit

https://www.exploit-db.com/exploits/45020/
Web page

phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (2) - PHP webapps Exploit

https://www.exploit-db.com/exploits/44928/
Web page

phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (1) - PHP webapps Exploit

https://www.exploit-db.com/exploits/44924/

Affected Packages

(1 across 1 ecosystem)
Packagist(1)
PackageVulnerable rangeFix by version rangeDependents
phpmyadmin/phpmyadmin4.8.0, 4.8.0.1, 4.8.1
  • 4.8 up to 4.8.2: fixed in 4.8.2
—

Weakness Classification(1)

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

Data Freshness Timeline

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

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. 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. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 3 repeat rows among the latest 50 are merged into the row they repeat.

  1. 2026-10-23 15:36 UTCEG score recompute
  2. 2026-10-22 15:09 UTCEG score recompute
  3. 2026-10-21 16:27 UTCEPSS rescoreEPSS 98% · 99th percentile
  4. 2026-10-21 14:44 UTCEG score recompute
  5. 2026-10-20 14:21 UTCEG score recompute
  6. 2026-10-19 13:23 UTCEG score recompute
  7. 2026-10-18 10:21 UTCEG score recompute
  8. 2026-10-17 12:28 UTCEG score recompute
  9. 2026-10-16 12:04 UTCEG score recompute
  10. 2026-10-15 11:40 UTCEG score recompute
  11. 2026-10-14 16:27 UTCEPSS rescoreEPSS 98% · 99th percentile
  12. 2026-10-14 07:11 UTCEG score recompute
  13. 2026-10-12 20:19 UTCEG score recompute
  14. 2026-10-12 00:42 UTCEG score recompute
  15. 2026-09-30 14:59 UTCEPSS rescoreEPSS 98% · 99th percentile
  16. 2026-09-30 09:53 UTCEG score recompute
  17. 2026-09-29 01:08 UTCOSV refresh
  18. 2026-09-17 19:22 UTCEPSS rescoreEPSS 98% · 99th percentile
  19. 2026-09-16 14:03 UTCEPSS rescoreEPSS 98% · 99th percentile
  20. 2026-09-16 05:06 UTCEPSS rescoreEPSS 98% · 99th percentile
  21. 2026-09-09 06:10 UTCOSV refresh
  22. 2026-09-05 15:24 UTCEPSS rescoreEPSS 98% · 99th percentile
  23. 2026-08-30 19:13 UTCEPSS rescoreEPSS 98% · 99th percentile
  24. 2026-08-26 14:41 UTCEPSS rescoreEPSS 98% · 99th percentile
  25. 2026-08-22 14:37 UTCOSV refresh
Show 22 more
  1. 2026-08-20 22:51 UTCEPSS rescoreEPSS 98% · 99th percentile
  2. 2026-08-17 13:42 UTCEPSS rescoreEPSS 98% · 99th percentile
  3. 2026-08-16 02:10 UTCEPSS rescoreEPSS 98% · 99th percentile
  4. 2026-08-11 13:36 UTCEPSS rescoreEPSS 98% · 99th percentile
  5. 2026-08-06 18:05 UTCOSV refresh
  6. 2026-07-28 15:32 UTCEPSS rescoreEPSS 98% · 99th percentile
  7. 2026-07-24 14:14 UTCEPSS rescoreEPSS 98% · 99th percentile
  8. 2026-07-23 01:33 UTCEG score recompute
  9. 2026-07-22 22:13 UTCEG score recompute
  10. 2026-07-21 10:18 UTCOSV refresh
  11. 2026-07-13 06:10 UTCEPSS rescoreEPSS 98% · 99th percentile
  12. 2026-07-12 05:43 UTCEPSS rescoreEPSS 98% · 99th percentile
  13. 2026-07-09 19:06 UTCEPSS rescoreEPSS 98% · 99th percentile
  14. 2026-07-04 05:56 UTCOSV refresh
  15. 2026-07-02 16:54 UTCEPSS rescoreEPSS 98% · 99th percentile
  16. 2026-06-15 17:45 UTCEPSS rescoreEPSS 98% · 99th percentile
  17. 2026-06-15 17:43 UTCOSV refresh
  18. 2026-05-31 22:28 UTCEPSS rescoreEPSS 94% · 99th percentile
  19. 2026-05-28 06:25 UTCEG score recompute
  20. 2026-05-27 13:38 UTCEPSS rescoreEPSS 94% · 99th percentile
  21. 2026-05-26 19:13 UTCOSV refresh
  22. 2026-05-26 13:42 UTCEPSS rescoreEPSS 94% · 99th percentile

Publicly available exploits

(9 references)

Public exploit code is referenced for this CVE (1 Metasploit module, 4 Exploit-DB entries, 3 GitHub PoCs), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.

  • Exploit-DBEDB-50457✓ verified
    Published Oct 25, 2021

    phpMyAdmin 4.8.1 - Remote Code Execution (RCE)

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

    phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit)

    Open source ↗
  • Metasploitexploit/multi/http/phpmyadmin_lfi_rce✓ verified
    Published Jul 11, 2018

    phpMyAdmin Authenticated Remote Code Execution

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

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

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

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

    Open source ↗
  • Nucleihttp/cves/2018/CVE-2018-12613.yaml
    Published Feb 20, 2021

    PhpMyAdmin <4.8.2 - Local File Inclusion

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

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

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

    Modified standalone exploit ported for Python 3

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

    PHPMyAdmin v4.8.0 and v.4.8.1 LFI exploit

    Open source ↗

Frequently asked(5)

What is CVE-2018-12613?
CVE-2018-12613 is a critical-severity vulnerability; its CVE record was 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 made public?
CVE-2018-12613 was made public on June 21, 2018: that is the date its CVE record's CNA, MITRE Corporation, gives for when the vulnerability was made public. The CVE record itself was published on June 21, 2018. EchelonGraph's copy of the record carries a last-modified date of November 21, 2024; the record at its source may have been updated since.
Is CVE-2018-12613 actively exploited?
CVE-2018-12613 is not currently on CISA's Known Exploited Vulnerabilities catalog. EchelonGraph's EG-KEV model places it in Tier 2 (Weaponized), which is not evidence of exploitation: a Metasploit module exists for it, and Exploit-DB marks a public exploit for it as verified. EchelonGraph does not test whether exploit code works. FIRST EPSS estimates a 98% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
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 (CRITICAL).
How do I remediate CVE-2018-12613?
A fix for CVE-2018-12613 is available: update to the fixed version the vendor names in its advisory.

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.