From 8fe835ac06183c021aac960bbda52737b4bf8461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 9 Jan 2007 09:49:30 +0000 Subject: [PATCH] security fixes --- ChangeLog | 8 ++++++++ index.php | 22 +++++++++++----------- libraries/Theme_Manager.class.php | 5 +++-- libraries/common.lib.php | 8 ++++---- 4 files changed, 26 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10f9b600b..a9f528491 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,14 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2007-01-09 Michal Čihař + * index.php: Properly escape strings written in JS code. + * libraries/Theme_Manager.class.php: Avoid trigger error here, parameter + comes from user and it might lead to path disclossure. + * libraries/common.lib.php: + - Properly escape in JS code. + - Check db, table and sql_query params to be string. + 2007-01-08 Marc Delisle * libraries/session.inc.php: prevent attack on session name cookie diff --git a/index.php b/index.php index f30ebaf88..79159a3e5 100644 --- a/index.php +++ b/index.php @@ -116,18 +116,18 @@ header('Content-Type: text/html; charset=' . $GLOBALS['charset']);