From rea-fbsd@codelabs.ru Sat Dec 27 22:03:45 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D58A1065673 for ; Sat, 27 Dec 2008 22:03:45 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6718FC0C for ; Sat, 27 Dec 2008 22:03:44 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from phoenix.codelabs.ru (ppp85-141-65-28.pppoe.mtu-net.ru [85.141.65.28]) by 0.mx.codelabs.ru with esmtps (TLSv1:CAMELLIA256-SHA:256) id 1LGhG3-000GDk-6b for FreeBSD-gnats-submit@freebsd.org; Sun, 28 Dec 2008 01:03:43 +0300 Message-Id: <20081227220343.704CEB8019@phoenix.codelabs.ru> Date: Sun, 28 Dec 2008 01:03:43 +0300 (MSK) From: Eygene Ryabinkin Reply-To: Eygene Ryabinkin To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: [vuxml] [patch] mail/roundcube: fix and document CVE-2008-5619 X-Send-Pr-Version: 3.113 X-GNATS-Notify: ale@freebsd.org >Number: 129982 >Category: ports >Synopsis: [vuxml] [patch] mail/roundcube: fix and document CVE-2008-5619 >Confidential: no >Severity: critical >Priority: high >Responsible: ale >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 27 22:10:04 UTC 2008 >Closed-Date: Tue Dec 30 10:24:35 UTC 2008 >Last-Modified: Tue Dec 30 16:50:01 UTC 2008 >Originator: Eygene Ryabinkin >Release: FreeBSD 7.1-PRERELEASE amd64 >Organization: Code Labs >Environment: System: FreeBSD 7.1-PRERELEASE amd64 >Description: RoundCube Mail is prone to the remote (PHP) code execution. >How-To-Repeat: http://trac.roundcube.net/ticket/1485618 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5619 >Fix: The following patch adds upstream fix for the issue: --- fix-CVE-2008-5619.diff begins here --- From 6d318348de0376b7ccf145dedcced0650dcbabb4 Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Sun, 28 Dec 2008 00:44:50 +0300 Signed-off-by: Eygene Ryabinkin --- mail/roundcube/Makefile | 1 + mail/roundcube/files/patch-CVE-2008-5619 | 131 ++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+), 0 deletions(-) create mode 100644 mail/roundcube/files/patch-CVE-2008-5619 diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile index 0f3aa65..e932835 100644 --- a/mail/roundcube/Makefile +++ b/mail/roundcube/Makefile @@ -7,6 +7,7 @@ PORTNAME= roundcube DISTVERSION= 0.2-beta +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail www MASTER_SITES= SF/${PORTNAME}mail diff --git a/mail/roundcube/files/patch-CVE-2008-5619 b/mail/roundcube/files/patch-CVE-2008-5619 new file mode 100644 index 0000000..264b87e --- /dev/null +++ b/mail/roundcube/files/patch-CVE-2008-5619 @@ -0,0 +1,131 @@ +Fix for CVE-2008-5619 + +Obtained from: http://trac.roundcube.net/changeset/2148?format=diff&new=2148 + +--- program/lib/html2text.php.orig 2008-08-30 16:35:36.000000000 +0400 ++++ program/lib/html2text.php 2008-12-28 00:37:43.000000000 +0300 +@@ -149,25 +149,18 @@ + '/]*>.*?<\/script>/i', //