CVE-2017-18264 · mitre
CVE-2017-18264
An issue was discovered in libraries/common.inc.php in phpMyAdmin 4.0 before 4.0.10.20, 4.4.x, 4.6.x, and 4.7.0 prereleases. The restrictions caused by $cfg['Servers'][$i]['AllowNoPassword'] = false are bypassed under certain PHP versions (e.g., version 5). This can allow the login of users who have no password set even if the administrator has set $cfg['Servers'][$i]['AllowNoPassword'] to false (which is also the default). This occurs because some implementations of the PHP substr function return false when given '' as the first argument.
Published 2018-05-01, last changed 2026-06-17.
How to fix
Upgrade to a fixed version: phpmyadmin/phpmyadmin 4.0.10.20, 4.7.0 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in phpmyadmin/phpmyadmin by 9a9a6ab709. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-05-01 | Published |
| 2022-05-13 | Package advisory GHSA-5868-g58j-vrj5 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.82% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-5868-g58j-vrj5 | phpmyadmin/phpmyadmin (Packagist) | 4.0.10.20 |
| GHSA-5868-g58j-vrj5 | phpmyadmin/phpmyadmin (Packagist) | 4.7.0 |
| GHSA-5868-g58j-vrj5 | phpmyadmin/phpmyadmin (Packagist) | no fix yet |
| GHSA-5868-g58j-vrj5 | phpmyadmin/phpmyadmin (Packagist) | no fix yet |
Also known as: GHSA-5868-g58j-vrj5
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-24530 | 2025-01-23 | 6.4 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2023-25727 | 2023-02-13 | 5.4 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-22452 | 2023-01-26 | 9.8 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2022-0813 | 2022-03-10 | 7.5 | PhpMyAdmin exposure of sensitive information |
| CVE-2022-23808 | 2022-01-22 | 6.1 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2022-23807 | 2022-01-22 | 4.3 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-26935 | 2020-10-10 | 9.8 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-26934 | 2020-10-10 | 6.1 | same package: phpmyadmin/phpmyadmin (Packagist) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-18264, or call /api/v1/vulnerabilities/CVE-2017-18264. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.