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.
CVE-2017-18264 affects 39 listed versions of phpMyAdmin in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
phpMyAdmin
39 of 250 listed versions are affected. Fixed in 4.0.10.20. The newest release, 5.2.3, is not affected.
4.7.0-rc1 4.6.6 4.6.5.2 4.6.5.1 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.4.15.10 4.4.15.9 4.4.15.8 4.4.15.7 4.4.15.6 4.4.15.5 4.4.15.4 4.4.15.3 4.4.15.2 4.4.15.1 4.4.15 4.4.14.1 4.4.14 4.4.13.1 4.4.13 4.0.10.19 4.0.10.18 4.0.10.17 4.0.10.16 4.0.10.15 4.0.10.14 4.0.10.13 4.0.10.12 4.0.10.11 4.0.10.10 4.0.10.9 4.0.10.8 4.0.10.7 4.0.10.6
What it is
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 1 May 2018. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2017-18264 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.