Live threats

All CVEs / Phpmyadmin

CVE-2017-18264Phpmyadmin

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
May 1, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpmyadmin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpmyadmin/phpmyadmin ≥ 4.0 < 4.0.10.20 4.0.10.20 composer require "phpmyadmin/phpmyadmin:^4.0.10.20"
Packagist phpmyadmin/phpmyadmin ≥ 4.7.0-beta1 < 4.7.0 4.7.0 composer require "phpmyadmin/phpmyadmin:^4.7.0"
Packagist phpmyadmin/phpmyadmin ≥ 4.4.0 ≤ 4.4.15.10 no fixed version —
Packagist phpmyadmin/phpmyadmin ≥ 4.6.0 ≤ 4.6.6 no fixed version —

Per OSV / GitHub Advisories (GHSA-5868-g58j-vrj5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phpmyadminphpmyadmin≥ 4.0.0 < 4.0.10.20
phpmyadminphpmyadmin≥ 4.4.0 ≤ 4.4.15.10
phpmyadminphpmyadmin≥ 4.6.0 ≤ 4.6.6
phpmyadminphpmyadmin4.7.0
phpmyadminphpmyadmin4.7.0
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.