diff options
author | Alex Legler <alex@a3li.li> | 2015-03-08 22:02:38 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-03-08 22:02:38 +0100 |
commit | a24567fbc43f221b14e805f9bc0b7c6d16911c46 (patch) | |
tree | 910a04fe6ee560ac0eebac55f3cd2781c3519760 /glsa-200504-30.xml | |
download | glsa-a24567fbc43f221b14e805f9bc0b7c6d16911c46.tar.gz glsa-a24567fbc43f221b14e805f9bc0b7c6d16911c46.tar.bz2 glsa-a24567fbc43f221b14e805f9bc0b7c6d16911c46.zip |
Import existing advisories
Diffstat (limited to 'glsa-200504-30.xml')
-rw-r--r-- | glsa-200504-30.xml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/glsa-200504-30.xml b/glsa-200504-30.xml new file mode 100644 index 00000000..c6f68102 --- /dev/null +++ b/glsa-200504-30.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?> +<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?> +<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> + +<glsa id="200504-30"> + <title>phpMyAdmin: Insecure SQL script installation</title> + <synopsis> + phpMyAdmin leaves the SQL install script with insecure permissions, + potentially leading to a database compromise. + </synopsis> + <product type="ebuild">phpmyadmin</product> + <announced>April 30, 2005</announced> + <revised>May 22, 2006: 02</revised> + <bug>88831</bug> + <access>local</access> + <affected> + <package name="dev-db/phpmyadmin" auto="yes" arch="*"> + <unaffected range="ge">2.6.2-r1</unaffected> + <vulnerable range="lt">2.6.2-r1</vulnerable> + </package> + </affected> + <background> + <p> + phpMyAdmin is a tool written in PHP intended to handle the + administration of MySQL databases from a web-browser. phpMyAdmin uses a + pma MySQL user to control the linked-tables infrastructure. The SQL + install script sets the initial password for the pma user. + </p> + </background> + <description> + <p> + The phpMyAdmin installation process leaves the SQL install script with + insecure permissions. + </p> + </description> + <impact type="normal"> + <p> + A local attacker could exploit this vulnerability to obtain the initial + phpMyAdmin password and from there obtain information about databases + accessible by phpMyAdmin. + </p> + </impact> + <workaround> + <p> + Change the password for the phpMyAdmin MySQL user (pma): + </p> + <code> + mysql -u root -p + SET PASSWORD FOR 'pma'@'localhost' = PASSWORD('MyNewPassword');</code> + <p> + Update your phpMyAdmin config.inc.php: + </p> + <code> + $cfg['Servers'][$i]['controlpass'] = 'MyNewPassword';</code> + </workaround> + <resolution> + <p> + All phpMyAdmin users should change password for the pma user as + described above and upgrade to the latest version: + </p> + <code> + # emerge --sync + # emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.2-r1"</code> + </resolution> + <references> + <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1392">CVE-2005-1392</uri> + </references> + <metadata tag="submitter" timestamp="Fri, 29 Apr 2005 08:17:12 +0000"> + jaervosz + </metadata> + <metadata tag="bugReady" timestamp="Fri, 29 Apr 2005 18:24:53 +0000"> + koon + </metadata> +</glsa> |