phpMyAdmin Improper Authentication
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).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | phpmyadmin/phpmyadmin | >= 4.8, < 4.8.2 | 4.8.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-12613
- https://github.com/phpmyadmin/composer
- https://security.gentoo.org/glsa/201904-16
- https://www.exploit-db.com/exploits/44924
- https://www.exploit-db.com/exploits/44928
- https://www.exploit-db.com/exploits/45020
- https://www.phpmyadmin.net/security/PMASA-2018-4
- http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html
- http://www.securityfocus.com/bid/104532
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-287- Platform
- Composer
- Package
phpmyadmin/phpmyadmin- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x394-g9j8-x7mf - CC BY 4.0
Vulnerability history: phpmyadmin/phpmyadmin
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 107
- First → latest
- 01.2020 01.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 10
- High 28
- Medium 56
- Low 13
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 103
- 2023: 2
- 2024: 0
- 2025: 1
- 2026: 0
-
phpMyAdmin Improper Authentication this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.