CVE-2017-18264
phpMyAdmin Improper Privilege Management
Also known as GHSA-5868-g58j-vrj5
Published 8 y ago · modified 4 mo ago · JSON
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.
Exploit prediction (EPSS)
2.82% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.
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/ · x_refsource_CONFIRM, x_transferred
- lists.debian.org /debian-lts-announce/2018/07/msg00006.html · mailing-list, x_refsource_MLIST, x_transferred
- securityfocus.com /bid/97211 · vdb-entry, x_refsource_BID, x_transferred
- 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
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.