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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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).
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 98.4% · top 0.1% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistphpmyadmin/phpmyadminGHSA-x394-g9j8-x7mf (opens in a new tab)
References (7)
- https://www.phpmyadmin.net/security/PMASA-2018-4/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 45020 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 104532 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 44924 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 44928 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- GLSA-201904-16 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x394-g9j8-x7mf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-12613)Record last updated .