ports/166399: Update www/foswiki to current released version

Kevin Oberman rkoberman at gmail.com
Sun Mar 25 18:50:08 UTC 2012


>Number:         166399
>Category:       ports
>Synopsis:       Update www/foswiki to current released version
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 25 18:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD rogue.local 9.0-STABLE FreeBSD 9.0-STABLE #2: Sun Mar 18 13:44:55 PDT 2012 root at rogue.local:/usr/obj/usr/src/sys/T520 amd64


	
>Description:
The port of www/foswiki is one version behind the current one. In
addition, the code has a vulnerability (CVE-2012-1004) that is patched
per foswiki support by this update.
 http://foswiki.org/Support/SecurityAlert-CVE-2012-1004
>How-To-Repeat:
N/A
>Fix:
diff -urN foswiki-1.1.3/Makefile foswiki-1.1.4/Makefile
--- foswiki-1.1.3/Makefile	2012-01-02 03:34:59.000000000 -0800
+++ foswiki-1.1.4/Makefile	2012-03-24 22:44:47.000000000 -0700
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	foswiki
-PORTVERSION=	1.1.3
+PORTVERSION=	1.1.4
 CATEGORIES=	www
 MASTER_SITES=	SF
 DISTNAME=	Foswiki-${PORTVERSION}
diff -urN foswiki-1.1.3/distinfo foswiki-1.1.4/distinfo
--- foswiki-1.1.3/distinfo	2011-04-19 03:08:02.000000000 -0700
+++ foswiki-1.1.4/distinfo	2012-03-24 23:10:02.000000000 -0700
@@ -1,2 +1,2 @@
-SHA256 (foswiki/Foswiki-1.1.3.tgz) = 76d81d10765fefb0e17872482b778fab446d6e357a62ba87aba6eb36d4398b7d
-SIZE (foswiki/Foswiki-1.1.3.tgz) = 13263991
+SHA256 (foswiki/Foswiki-1.1.4.tgz) = a67b5041c49a06fd445e9a55ab374ea006e40e37620acc4697524f1767a27a5a
+SIZE (foswiki/Foswiki-1.1.4.tgz) = 14948922
diff -urN foswiki-1.1.3/files/patch-Register.pm foswiki-1.1.4/files/patch-Register.pm
--- foswiki-1.1.3/files/patch-Register.pm	1969-12-31 16:00:00.000000000 -0800
+++ foswiki-1.1.4/files/patch-Register.pm	2012-03-25 11:21:30.000000000 -0700
@@ -0,0 +1,12 @@
+--- lib/Foswiki/UI/Register.pm.orig	2012-03-25 11:18:23.000000000 -0700
++++ lib/Foswiki/UI/Register.pm	2012-03-25 11:19:45.000000000 -0700
+@@ -1563,6 +1563,9 @@
+             # It is the responsibility of the implementation code to untaint
+             # these data before they are used in dangerous ways.
+             # DO NOT UNTAINT THESE DATA HERE!
++            unless ( $name =~ m/^(?:wikiname|name|loginname|username|password|confirm)$/i ) {
++                $value =~ s/([<>%'"])/'&#'.ord($1).';'/ge;
++            }
+             $data->{$name} = $value;
+             push(
+                 @{ $data->{form} },


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list