GLSA-200407-22 : phpMyAdmin: Multiple vulnerabilities
High Nessus Plugin ID 14555
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-200407-22 (phpMyAdmin: Multiple vulnerabilities)
Two serious vulnerabilities exist in phpMyAdmin. The first allows any user to alter the server configuration variables (including host, name, and password) by appending new settings to the array variables that hold the configuration in a GET statement. The second allows users to include arbitrary PHP code to be executed within an eval() statement in table name configuration settings. This second vulnerability is only exploitable if $cfg['LeftFrameLight'] is set to FALSE.
Authenticated users can alter configuration variables for their running copy of phpMyAdmin. The impact of this should be minimal. However, the second vulnerability would allow an authenticated user to execute arbitrary PHP code with the permissions of the webserver, potentially allowing a serious Denial of Service or further remote compromise.
The second, more serious vulnerability is only exploitable if $cfg['LeftFrameLight'] is set to FALSE. In the default Gentoo installation, this is set to TRUE. There is no known workaround for the first.
SolutionAll phpMyAdmin users should upgrade to the latest version:
# emerge sync # emerge -pv '>=dev-db/phpmyadmin-2.5.7_p1' # emerge '>=dev-db/phpmyadmin-2.5.7_p1'