CVE-2018-12613Phpmyadmin
High 8.8 High EPSS
Follow: this CVE · Phpmyadmin · Phpmyadmin We alert you by email or Slack (account required).
- Priority
- 63
- CVSS 3.1
- 8.8
- EPSS
- 98.4% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- Published
- Jun 21, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Phpmyadmin.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin |
≥ 4.8 < 4.8.2 |
4.8.2 |
composer require "phpmyadmin/phpmyadmin:^4.8.2" |
Per OSV / GitHub Advisories (GHSA-x394-g9j8-x7mf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpmyadmin | phpmyadmin | ≥ 4.8.0 < 4.8.2 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- security.gentoo.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.exploit-db.com Third Party Advisory VDB Entry
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.phpmyadmin.net Vendor Advisory