CVE-2017-18264 json
phpMyAdmin Improper Privilege Management
published 2018-05-01 8 y ago modified 2026-06-17 4 mo ago also GHSA-5868-g58j-vrj5 , EUVD-2022-2531
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 4.0.10.20, 4.7.0
- phpmyadmin phpmyadmin 4.0.10.20
- phpmyadmin Debian 14, Debian 13, Debian 12 4:4.6.6-2
debian advisories DEBIAN-CVE-2017-18264
- phpmyadmin Ubuntu Pro 14.04 LTS 4:4.0.10-1ubuntu0.1+esm4
- phpmyadmin Ubuntu Pro 16.04 LTS 4:4.5.4.1-2ubuntu2.1+esm3
ubuntu advisories UBUNTU-CVE-2017-18264
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18264 updated cvss 4.3
phpMyAdmin: Bypass $cfg['Servers'][$i]['AllowNoPassword']
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.82% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=4.0, <4.0.10.20 >=4.7.0-beta1, <4.7.0 >=4.4.0, <=4.4.15.10 >=4.6.0, <=4.6.6 |
4.0.10.20 4.7.0 |
Classification
- Weakness
-
- CWE-269 Improper Privilege Management
References
-
phpmyadmin.net
/security/PMASA-2017-8/
patch, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/07/msg00006.html
mailing-list, web, third-party-advisory
-
securityfocus.com
/bid/97211
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-18264
advisory
-
github.com
/phpmyadmin/composer
package
-
phpmyadmin.net
/security/PMASA-2017-8
web
Sources
- CVE List CVE-2017-18264
- GitHub Advisory GHSA-5868-g58j-vrj5
- NVD CVE-2017-18264
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.