KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
2.82%
percentile 87.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-01Published
2022-05-13Package advisory GHSA-5868-g58j-vrj5
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.82%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-5868-g58j-vrj5phpmyadmin/phpmyadmin (Packagist)4.0.10.20
GHSA-5868-g58j-vrj5phpmyadmin/phpmyadmin (Packagist)4.7.0
GHSA-5868-g58j-vrj5phpmyadmin/phpmyadmin (Packagist)no fix yet
GHSA-5868-g58j-vrj5phpmyadmin/phpmyadmin (Packagist)no fix yet

Also known as: GHSA-5868-g58j-vrj5

Related

CVEPublishedCVSSSummary
CVE-2025-245302025-01-236.4same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2023-257272023-02-135.4same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-224522023-01-269.8same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2022-08132022-03-107.5PhpMyAdmin exposure of sensitive information
CVE-2022-238082022-01-226.1same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2022-238072022-01-224.3same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-269352020-10-109.8same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-269342020-10-106.1same 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.

NVD · CVE.org