GLSA-200504-30 : phpMyAdmin: Insecure SQL script installation

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200504-30
(phpMyAdmin: Insecure SQL script installation)

The phpMyAdmin installation process leaves the SQL install script with
insecure permissions.

Impact :

A local attacker could exploit this vulnerability to obtain the initial
phpMyAdmin password and from there obtain information about databases
accessible by phpMyAdmin.

Workaround :

Change the password for the phpMyAdmin MySQL user (pma):
mysql -u root -p
SET PASSWORD FOR 'pma'@'localhost' = PASSWORD('MyNewPassword')

Update your phpMyAdmin config.inc.php:
$cfg['Servers'][$i]['controlpass'] = 'MyNewPassword'


See also :

http://www.gentoo.org/security/en/glsa/glsa-200504-30.xml

Solution :

All phpMyAdmin users should change password for the pma user as
described above and upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-db/phpmyadmin-2.6.2-r1'

Risk factor :

Medium / CVSS Base Score : 4.6
(CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 18169 (gentoo_GLSA-200504-30.nasl)

Bugtraq ID:

CVE ID: CVE-2005-1392