GLSA Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Sun Dec 19, 2004 8:17 pm Post subject: [ GLSA 200412-19 ] phpMyAdmin: Multiple vulnerabilities |
|
|
Gentoo Linux Security Advisory
Title: phpMyAdmin: Multiple vulnerabilities (GLSA 200412-19)
Severity: high
Exploitable: remote
Date: December 19, 2004
Bug(s): #74303
ID: 200412-19
Synopsis
phpMyAdmin contains multiple vulnerabilities which could lead to file disclosure or command execution.
Background
phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.
Affected Packages
Package: dev-db/phpmyadmin
Vulnerable: < 2.6.1_rc1
Unaffected: >= 2.6.1_rc1
Architectures: All supported architectures
Description
Nicolas Gregoire (exaprobe.com) has discovered two vulnerabilities that exist only on a webserver where PHP safe_mode is off. These vulnerabilities could lead to command execution or file disclosure.
Impact
On a system where external MIME-based transformations are enabled, an attacker can insert offensive values in MySQL, which would start a shell when the data is browsed. On a system where the UploadDir is enabled, read_dump.php could use the unsanitized sql_localfile variable to disclose a file.
Workaround
You can temporarily enable PHP safe_mode or disable external MIME-based transformation AND disable the UploadDir. But instead, we strongly advise to update your version to 2.6.1_rc1.
Resolution
All phpMyAdmin users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.1_rc1" |
References
CAN-2004-1147
CAN-2004-1148
PHPMyAdmin advisory: PMASA-2004-4
Exaprobe.com advisory: esa-2004-1213
Last edited by GLSA on Sun May 07, 2006 4:54 pm; edited 1 time in total |
|