PMASA-2016-58
Announcement-ID: PMASA-2016-58
Date: 2016-11-25
Updated: 2016-12-06
Summary
Unsafe generation of blowfish secret
Description
When the user does not specify a blowfish_secret key for encrypting cookies, phpMyAdmin generates one at runtime. A vulnerability was reported where the way this value is created using a weak algorithm.
This could allow an attacker to determine the user's blowfish_secret and potentially decrypt their cookies.
Severity
We consider this vulnerability to be of moderate severity.
Mitigation factor
This vulnerability only affects cookie authentication and only when a user has not defined a $cfg['blowfish_secret'] in their config.inc.php
Affected Versions
All 4.6.x versions (prior to 4.6.5), 4.4.x versions (prior to 4.4.15.9), and 4.0.x versions (prior to 4.0.10.18) are affected
Solution
Upgrade to phpMyAdmin 4.6.5, 4.4.15.9, 4.0.10.18, or newer or apply patch listed below.
References
Thanks to Emanuel Bronshtein @e3amn2l for reporting this vulnerability.
Assigned CVE IDs: CVE-2016-9847
CWE IDs: CWE-661
Patches
The following commits have been made on the 4.0 branch to fix this issue:
The following commits have been made on the 4.4 branch to fix this issue:
The following commits have been made on the 4.6 branch to fix this issue:
More information
For further information and in case of questions, please contact the phpMyAdmin security team at security@phpmyadmin.net.