[security] possible XSRF on several pages
This commit is contained in:
@@ -11,6 +11,9 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
- [core] do not automatically set and create TempDir, it might lead to security
|
||||
issue (thanks to Thijs Kinkhorst)
|
||||
|
||||
2.11.9.4 (2008-12-09)
|
||||
- [security] possible XSRF on several pages
|
||||
|
||||
2.11.9.3 (2008-10-30)
|
||||
- [security] XSS in a Designer component
|
||||
|
||||
|
@@ -64,7 +64,7 @@ if (empty($is_table) && !defined('PMA_SUBMIT_MULT')) {
|
||||
* @todo should this check really only happen if IS_TRANSFORMATION_WRAPPER?
|
||||
*/
|
||||
$_result = PMA_DBI_try_query(
|
||||
'SELECT COUNT(*) FROM `' . PMA_sqlAddslashes($table, true) . '`;',
|
||||
'SELECT COUNT(*) FROM ' . PMA_backquote($table) . ';',
|
||||
null, PMA_DBI_QUERY_STORE);
|
||||
$is_table = ($_result && @PMA_DBI_num_rows($_result));
|
||||
PMA_DBI_free_result($_result);
|
||||
|
Reference in New Issue
Block a user