CVE-2018-12613: phpmyadmin Improper Authentication
Vulnerability summary
CVE-2018-12613 is a high (CVSS 8.8) Improper Authentication vulnerability in phpmyadmin. EPSS estimates a 98.32% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 6 public exploits are recorded.
Weaponized exploit (exploit-database, 13-07-2018)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 21-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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 metrics
3 scores · 2 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
98.32%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 98.35% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
6 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
phpMyAdmin 4.8.0/4.8.1 - Authenticated Remote Code Execution (RCE) (Metasploit)
Maturity: weaponized
phpMyAdmin 4.8.1 - 'target' Authenticated Local File Inclusion (LFI) (1)
Maturity: poc
Show all 6 exploits
phpMyAdmin 4.8.1 - 'target' Authenticated Local File Inclusion (LFI) (2)
Maturity: poc
phpMyAdmin 4.8.1 - 'target' Authenticated Local File Inclusion (LFI) / Remote Code Execution (RCE)
Maturity: poc
phpMyAdmin Authenticated Remote Code Execution
exploit/multi/http/phpmyadmin_lfi_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- phpmyadmin≥ 4.8.0, < 4.8.2-r0
Phpmyadmin1 product
- phpmyadmin≥ 4.8.0, < 4.8.2
2 vendors · 2 products
References
8 links- packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry