CVE-2018-12613
phpMyAdmin Improper Authentication
Reported by mitre · Published June 21, 2018
phpmyadmin/phpmyadmin is fixed in 4.8.2 (Packagist)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| phpmyadmin/phpmyadmin | Packagist | 4.8.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | phpmyadmin | 0 |
| phpmyadmin | phpmyadmin | 4.8.0 |
Timeline
- Jun 21, 2018 CVE Published
- Jun 21, 2018 PoC Published (5 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 6, 2022 VulnCheck KEV Exploitation (4 in total, the first dated here)
- May 25, 2023 VulnCheck XDB Entry (3 in total, the first dated here)
- Mar 17, 2026 Security Advisory (2 in total, the first dated here)
- Sep 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-12613
vulnetix vdb fixes CVE-2018-12613
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-12613/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 45020 exploitx_refsource_EXPLOIT-DB
- 104532 vdb-entryx_refsource_BID
- 44924 exploitx_refsource_EXPLOIT-DB
- 44928 exploitx_refsource_EXPLOIT-DB
- GLSA-201904-16 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2018-12613 advisory