GLSA-200510-21 : phpMyAdmin: Local file inclusion and XSS vulnerabilities

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-200510-21
(phpMyAdmin: Local file inclusion and XSS vulnerabilities)

Stefan Esser discovered that by calling certain PHP files directly, it
was possible to workaround the grab_globals.lib.php security model and
overwrite the $cfg configuration array. Systems running PHP in safe
mode are not affected. Futhermore, Tobias Klein reported several
cross-site-scripting issues resulting from insufficient user input
sanitizing.

Impact :

A local attacker may exploit this vulnerability by sending malicious
requests, causing the execution of arbitrary code with the rights of
the user running the web server. Furthermore, the cross-site scripting
issues give a remote attacker the ability to inject and execute
malicious script code or to steal cookie-based authentication
credentials, potentially compromising the victim's browser.

Workaround :

There is no known workaround for all those issues at this time.

See also :

http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-5
http://www.gentoo.org/security/en/glsa/glsa-200510-21.xml

Solution :

All phpMyAdmin users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-db/phpmyadmin-2.6.4_p3'

Risk factor :

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

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20103 (gentoo_GLSA-200510-21.nasl)

Bugtraq ID:

CVE ID: CVE-2005-3300
CVE-2005-3301