CVE-2017-18264
highpriority · track · 40EPSS 0.028 · 87 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-5868-g58j-vrj5phpMyAdmin Improper Privilege Management2022-05-13ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://lists.debian.org/debian-lts-announce/2018/07/msg00006.htmlcnnvd
- https://www.phpmyadmin.net/security/PMASA-2017-8/cnnvd
- https://www.securityfocus.com/bid/97211cnnvd
- http://www.securityfocus.com/bid/97211enisa_euvd
- https://lists.debian.org/debian-lts-announce/2018/07/msg00006.htmlenisa_euvd
- https://www.phpmyadmin.net/security/PMASA-2017-8/enisa_euvd
- http://www.securityfocus.com/bid/97211Third Party AdvisoryVDB Entrynvd
- https://lists.debian.org/debian-lts-announce/2018/07/msg00006.htmlThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan