CVE-2017-18264
phpMyAdmin Improper Privilege Management
Reported by mitre · Published May 1, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| phpmyadmin | phpmyadmin | 4.6.6, 4.4.15.10, 4.0.10.20 |
| phpmyadmin | Ubuntu:Pro:16.04:LTS | 4:4.5.4.1-2ubuntu2.1+esm3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| phpmyadmin | phpmyadmin | 4.0.0, 4.4.0, 4.6.0 |
| n/a | n/a | * |
Timeline
- May 1, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Oct 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-18264
vulnetix vdb fixes CVE-2017-18264
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-18264/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [debian-lts-announce] 20180706 [SECURITY] [DLA 1415-1] phpmyadmin security update mailing-listx_refsource_MLIST
- 97211 vdb-entryx_refsource_BID
- https://nvd.nist.gov/vuln/detail/CVE-2017-18264 advisory