{"id":"CVE-2017-18264","published":"2018-05-01T17:00:00Z","modified":"2024-08-05T21:13:49Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02818,"percentile":0.86894,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.phpmyadmin.net/security/PMASA-2017-8/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00006.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/97211","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":17.38}]},"affected":[{"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=4.0, <4.0.10.20",">=4.7.0-beta1, <4.7.0",">=4.4.0, <=4.4.15.10",">=4.6.0, <=4.6.6"],"patched":["4.0.10.20","4.7.0"],"from":["GHSA-5868-g58j-vrj5"],"provenance":"source"}],"summary":{"text":"The flaw lies in libraries/common.inc.php in phpMyAdmin 4.0 before 4.0.10.20, along with the 4.4.x, 4.6.x, and 4.7.0 prereleases, where the AllowNoPassword = false restriction can be bypassed under certain PHP versions because some substr implementations return false for an empty-string first argument. An attacker can log in as a user who has no password set, even when the administrator has disabled such logins, and this requires only that the PHP runtime behave in the affected way.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:40Z"},"euvd":{"id":"EUVD-2022-2531","exploited":false,"provenance":"source"}}