Auth bypass in phpMyAdmin
CVE-2018-12613
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).
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.984 (99.9th percentile), scored .
Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 99.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.984 · newest: 0.984 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.phpmyadmin.net/security/PMASA-2018-4/ (Vendor Advisory)
- www.exploit-db.com/exploits/45020/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- www.securityfocus.com/bid/104532 (VDB Entry, Third Party Advisory, vdb-entry)
- www.exploit-db.com/exploits/44924/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- www.exploit-db.com/exploits/44928/ (VDB Entry, Third Party Advisory, exploit)
- security.gentoo.org/glsa/201904-16 (vendor-advisory, Third Party Advisory)
- packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-12613?
- CVE-2018-12613 is a high-severity vulnerability in phpMyAdmin, classified under Improper Authentication. CVSS score: 8.8/10. Published 2018-06-21.
- How severe is CVE-2018-12613?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2018-12613 known to be exploited?
- 57 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.