Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 7483F6E67C for ; Thu, 30 Oct 2014 05:37:26 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.9/8.14.5) with ESMTP id s9U5bQ5h011528 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 29 Oct 2014 22:37:26 -0700 (PDT) Received: from lirq-OptiPlex-780.corp.ad.wrs.com (128.224.162.141) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.174.1; Wed, 29 Oct 2014 22:37:26 -0700 From: To: Date: Thu, 30 Oct 2014 13:37:27 +0800 Message-ID: <1414647447-26316-3-git-send-email-rongqing.li@windriver.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1414647447-26316-1-git-send-email-rongqing.li@windriver.com> References: <1414647447-26316-1-git-send-email-rongqing.li@windriver.com> MIME-Version: 1.0 Subject: [PATCH 3/3][meta-webserver][v2] phpmyadmin: fix for Security Advisory CVE-2014-7217 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 05:37:33 -0000 Content-Type: text/plain From: Roy Li Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.4, 4.1.x before 4.1.14.5, and 4.2.x before 4.2.9.1 allow remote authenticated users to inject arbitrary web script or HTML via a crafted ENUM value that is improperly handled during rendering of the (1) table search or (2) table structure page, related to libraries/TableSearch.class.php and libraries/Util.class.php. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-7217 Signed-off-by: Roy Li --- .../0001-Bug-4544-additional-fix-for-4.2.x.patch | 29 ++++++++++++++++++++ .../recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch new file mode 100644 index 0000000..e23f94b --- /dev/null +++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin/0001-Bug-4544-additional-fix-for-4.2.x.patch @@ -0,0 +1,29 @@ +From 304fb2b645b36a39e03b954fdbd567173ebe6448 Mon Sep 17 00:00:00 2001 +From: Marc Delisle +Date: Wed, 1 Oct 2014 08:09:12 -0400 +Subject: [PATCH] Bug 4544: additional fix for 4.2.x + +Upstream-Status: Backport + +Signed-off-by: Marc Delisle +--- + libraries/TableSearch.class.php | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/libraries/TableSearch.class.php b/libraries/TableSearch.class.php +index a0b3fa4..b7eb42f 100644 +--- a/libraries/TableSearch.class.php ++++ b/libraries/TableSearch.class.php +@@ -992,7 +992,8 @@ EOT; + $html_output .= '' . $properties['collation'] . ''; + $html_output .= '' . $properties['func'] . ''; + // here, the data-type attribute is needed for a date/time picker +- $html_output .= '' . $properties['value'] . ''; + $html_output .= ''; + //Displays hidden fields +-- +1.7.10.4 + diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb index 447b778..49ca7da 100644 --- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb +++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a \ SRC_URI = "${SOURCEFORGE_MIRROR}/phpmyadmin/phpMyAdmin/${PV}/phpMyAdmin-${PV}-all-languages.tar.xz \ file://0001-bug-4504-security-Self-XSS-in-query-charts.patch \ file://0001-bug-4505-security-XSS-in-view-operations-page.patch \ + file://0001-Bug-4544-additional-fix-for-4.2.x.patch \ file://apache.conf" SRC_URI[md5sum] = "0dcd755450dac819f33502590c88ad29" -- 1.7.10.4