CVEfocus › CVE database › CVE-2017-18264

CVE-2017-18264

CVSS 9.8 CriticalEPSS 2.8% (higher than 87% of CVEs)Published 2018-05-01Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04phpmyadminNot affected
vulnerable_code_not_present
Ubuntu 16.04phpmyadminFix pending4:4.5.4.1-2ubuntu2.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2017-18264
Ubuntu 14.04phpmyadminFix pending4:4.0.10-1ubuntu0.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2017-18264
Debian 14phpmyadminFixed4:4.6.6-2DEBIAN-CVE-2017-18264
Debian 13phpmyadminFixed4:4.6.6-2DEBIAN-CVE-2017-18264
Debian 12phpmyadminFixed4:4.6.6-2DEBIAN-CVE-2017-18264
Packagist libraryphpmyadmin/phpmyadminFixed4.7.0GHSA-5868-g58j-vrj5

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.