CVE-2016-6606
An issue was discovered in cookie encryption in phpMyAdmin. The decryption of the username/password is vulnerable to a padding oracle attack. This can allow an attacker who has access to a user's browser cookie file to decrypt the username and password. Furthermore, the same initialization vector (IV) is used to hash the username and password stored in the phpMyAdmin cookie. If a user has the same password as their username, an attacker who examines the browser cookie can see that they are the same - but the attacker can not directly decode these values from the cookie as it is still hashed. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | phpmyadmin | Fixed | 4:4.5.4.1-2ubuntu2.1 | UBUNTU-CVE-2016-6606 |
| Ubuntu 14.04 | phpmyadmin | Fixed | 4:4.0.10-1ubuntu0.1 | UBUNTU-CVE-2016-6606 |
| Debian 14 | phpmyadmin | Fixed | 4:4.6.4+dfsg1-1 | DEBIAN-CVE-2016-6606 |
| Debian 13 | phpmyadmin | Fixed | 4:4.6.4+dfsg1-1 | DEBIAN-CVE-2016-6606 |
| Debian 12 | phpmyadmin | Fixed | 4:4.6.4+dfsg1-1 | DEBIAN-CVE-2016-6606 |
| Alpine Linux 3.2 | phpmyadmin | Fixed | 4.4.15.8-r0 | ALPINE-CVE-2016-6606 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201701-32 (vendor-advisory)
References
- https://www.phpmyadmin.net/security/PMASA-2016-29
- http://www.securityfocus.com/bid/94114
- https://security.gentoo.org/glsa/201701-32
- https://lists.debian.org/debian-lts-announce/2019/06/msg00009.html
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.