From 6225d4533abb0ffee0c985354326295a746cc79e Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Fri, 9 Nov 2007 19:27:37 +0000 Subject: [PATCH] fixed possible XSS in database name - thanks to Omer Singer, The DigiTrust Group --- ChangeLog | 1 + libraries/List_Database.class.php | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index e9c3d19c0..bbe387ae0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA 2.11.2.1 (not yet released) - fixed possible SQL injection using database name +- fixed possible XSS in database name - thanks to Omer Singer, The DigiTrust Group 2.11.2.0 (2007-10-27) - patch #1791576 HTTP auth: support REDIRECT_REMOTE_USER, thanks to Allard diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php index 79d61d66c..4451417a4 100644 --- a/libraries/List_Database.class.php +++ b/libraries/List_Database.class.php @@ -378,25 +378,29 @@ require_once './libraries/List.class.php'; $selected = $this->getDefault(); } - $return = '