From m.seaman@infracaninophile.co.uk  Wed Dec  7 20:48:29 2005
Return-Path: <m.seaman@infracaninophile.co.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 256BD16A420;
	Wed,  7 Dec 2005 20:48:29 +0000 (GMT)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.187.76.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A755C43D58;
	Wed,  7 Dec 2005 20:48:21 +0000 (GMT)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1])
	by smtp.infracaninophile.co.uk (8.13.4/8.13.4) with ESMTP id jB7KmA86017487
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 7 Dec 2005 20:48:10 GMT
	(envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk)
Received: (from matthew@localhost)
	by happy-idiot-talk.infracaninophile.co.uk (8.13.4/8.13.4/Submit) id jB7KmAJj017486;
	Wed, 7 Dec 2005 20:48:10 GMT
	(envelope-from matthew)
Message-Id: <200512072048.jB7KmAJj017486@happy-idiot-talk.infracaninophile.co.uk>
Date: Wed, 7 Dec 2005 20:48:10 GMT
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Reply-To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc: security-team@freebsd.org
Subject: [security][maintianer] databases/phpmyadmin -- update to 2.7.0-pl1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         90085
>Category:       ports
>Synopsis:       [security][maintainer] databases/phpmyadmin -- update to 2.7.0-pl1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 07 20:50:10 GMT 2005
>Closed-Date:    Wed Dec 07 21:41:55 GMT 2005
>Last-Modified:  Wed Dec 07 21:41:55 GMT 2005
>Originator:     Matthew Seaman
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.11-STABLE FreeBSD 4.11-STABLE #91: Wed Nov 16 22:41:11 GMT 2005 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

From the security advisory PMASA-2005-9
(http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-9):

Announcement-ID: PMASA-2005-9
Date: 2005-12-07

Summary:
Cross-Site Scripting, local and remote code execution vulnerabilities

Description:
Two days after the release of version 2.7.0, we received a security advisory from Stefan Esser (sesser@hardened-php.net) and we wish to thank him for his work.

It is possible to overwrite the global import_blacklist variable to open phpMyAdmin 2.7.0 to those vulnerabilities.

Severity:
We consider these vulnerabilities to be serious.

Affected versions:
Only the unpatched 2.7.0 version.

Solution:
Upgrade to phpMyAdmin 2.7.0-pl1 or newer.

References:
http://www.hardened-php.net/advisory_252005.110.html

For further information and in case of questions, please contact the phpMyAdmin team. Our website is http://www.phpmyadmin.net/. 

>How-To-Repeat:
	
>Fix:

	

--- phpmyadmin.diff begins here ---
diff -Nur /usr/ports/databases/phpmyadmin/Makefile phpmyadmin/Makefile
--- /usr/ports/databases/phpmyadmin/Makefile	Mon Dec  5 17:19:20 2005
+++ phpmyadmin/Makefile	Wed Dec  7 20:37:40 2005
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	phpMyAdmin
-PORTVERSION=	2.7.0
-#DISTVERSION=	2.7.0
+PORTVERSION=	2.7.0.1
+#DISTVERSION=	2.7.0-pl1
 CATEGORIES=	databases www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	phpmyadmin
-DISTNAME=	${PORTNAME}-${PORTVERSION}
+DISTNAME=	${PORTNAME}-${PORTVERSION:C/\.(.)$/-pl\1/}
 
 MAINTAINER=	m.seaman@infracaninophile.co.uk
 COMMENT=	A set of PHP-scripts to manage MySQL over the web
diff -Nur /usr/ports/databases/phpmyadmin/distinfo phpmyadmin/distinfo
--- /usr/ports/databases/phpmyadmin/distinfo	Mon Dec  5 17:19:20 2005
+++ phpmyadmin/distinfo	Wed Dec  7 20:38:46 2005
@@ -1,3 +1,3 @@
-MD5 (phpMyAdmin-2.7.0.tar.bz2) = 960c78c00655d24c48be231a52fe5716
-SHA256 (phpMyAdmin-2.7.0.tar.bz2) = d819122c5e015398faf3d25e9870054e583e3fb794a5a7108674d7a9aa5f2ee8
-SIZE (phpMyAdmin-2.7.0.tar.bz2) = 1962828
+MD5 (phpMyAdmin-2.7.0-pl1.tar.bz2) = 39bfebd35f9a2de03504812df173f27d
+SHA256 (phpMyAdmin-2.7.0-pl1.tar.bz2) = 0d324fd68f186b04f69ed46eb6b74577fff4f0d015dca75edcd8e089a9366865
+SIZE (phpMyAdmin-2.7.0-pl1.tar.bz2) = 1962675
--- phpmyadmin.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mnag 
Responsible-Changed-By: mnag 
Responsible-Changed-When: Wed Dec 7 20:56:47 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90085 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Wed Dec 7 21:41:54 GMT 2005 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90085 
>Unformatted:
