All vulnerabilities

Servers and applications

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…

Severity
Critical 9.8
Published
1 May 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.0.10.20
Exploit chance
2.8% in the next 30 daysHigher than 86% of CVEs. EPSS by FIRST, 10 Nov 2026
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
phpMyAdminServers and applications · cpe:a:phpmyadmin:phpmyadmin
  • From 4.0.0 before 4.0.10.20
  • From 4.4.0 up to 4.4.15.10
  • From 4.6.0 up to 4.6.6
  • Version 4.7.0-beta1
  • Version 4.7.0-rc1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-18264
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-18264