CVE-2017-18264
The restrictions caused by $cfg['Servers'][$i]['AllowNoPassword'] = false are bypassed under certain PHP versions (e.g., version 5).
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.85%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.85% probability · 86th percentile
- CISA KEV
- Not listed
- Affected
- phpmyadmin/phpmyadmin · debian/debian linux
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/97211Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00006.htmlThird Party Advisory
- https://www.phpmyadmin.net/security/PMASA-2017-8/Patch, Vendor Advisory
- http://www.securityfocus.com/bid/97211Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/07/msg00006.htmlThird Party Advisory
- https://www.phpmyadmin.net/security/PMASA-2017-8/Patch, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.