summaryrefslogtreecommitdiff
path: root/mail/squirrelmail/patches
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2007-05-10 06:48:28 +0000
committermartti <martti@pkgsrc.org>2007-05-10 06:48:28 +0000
commitfef664b4c363b0abe04135dea5cd04b797edf9c5 (patch)
tree0ec2a25d13591da4b89cf3f126ae31d7d871b1b7 /mail/squirrelmail/patches
parent72fa56c9ec8b64e5c08634070a3b4155c3018a20 (diff)
downloadpkgsrc-fef664b4c363b0abe04135dea5cd04b797edf9c5.tar.gz
Updated mail/squirrelmail to 1.4.10
This version, 1.4.10 is a maintenance release, addressing the following problems since 1.4.9a: - Some security fixes (see below) - Small enhancements - A collection of bugfixes and stability enhancements (see ChangeLog for a full list) Security issues =============== This release addresses security issues found since the release of 1.4.9a: There's an ongoing battle to further secure the HTML filter against malicious HTML mail and the browsers that accept almost any malformed piece of HTML. This release contains fixes for the following: - HTML attachments containing "data:" URLs; - Internet Explorer in various versions accepts many permutations of HTML and JavaScript in many charsets. We now properly canonicalize the incoming HTML to us-ascii before applying further filters. IE only. - Request forgery through images. It was possible to include "images" in HTML mails which were in fact GET requests for the compose.php page sending mail. These images are now properly detected, and the compose form will only send mail through a POST request. Thanks to Mikhail Markin, Tomas Kuliavas and Michael Jordon for reporting (parts of) these issues and working with us to get them resolved. These are known as CVE-2007-1262. Further details on SquirrelMail vulnerabilities can be found at the following address: http://www.squirrelmail.org/security/
Diffstat (limited to 'mail/squirrelmail/patches')
-rw-r--r--mail/squirrelmail/patches/patch-aa18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/squirrelmail/patches/patch-aa b/mail/squirrelmail/patches/patch-aa
index 99cb8079fe3..e8340430c6b 100644
--- a/mail/squirrelmail/patches/patch-aa
+++ b/mail/squirrelmail/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.12 2006/12/04 13:06:01 obache Exp $
+$NetBSD: patch-aa,v 1.13 2007/05/10 06:48:28 martti Exp $
---- config/config_default.php.orig 2006-10-07 11:58:42.000000000 +0000
-+++ config/config_default.php
-@@ -414,7 +414,7 @@ $default_sub_of_inbox = true;
+--- config/config_default.php.orig 2007-03-04 04:07:59.000000000 +0200
++++ config/config_default.php 2007-05-10 09:21:01.000000000 +0300
+@@ -414,7 +414,7 @@
* false. (Cyrus works fine whether it's true OR false).
* @global bool $show_contain_subfolders_option
*/
@@ -11,20 +11,20 @@ $NetBSD: patch-aa,v 1.12 2006/12/04 13:06:01 obache Exp $
/**
* These next two options set the defaults for the way that the
-@@ -459,7 +459,7 @@ $noselect_fix_enable = false;
- * $data_dir = SM_PATH . 'data/';
+@@ -464,7 +464,7 @@
+ *
* @global string $data_dir
*/
--$data_dir = SM_PATH . 'data/';
+-$data_dir = '/var/local/squirrelmail/data/';
+$data_dir = '@USER_PREFS_DIR@/';
/**
* Attachments directory
-@@ -477,7 +477,7 @@ $data_dir = SM_PATH . 'data/';
+@@ -482,7 +482,7 @@
* + It should probably be another directory than data_dir.
* @global string $attachment_dir
*/
--$attachment_dir = $data_dir;
+-$attachment_dir = '/var/local/squirrelmail/attach/';
+$attachment_dir = '@ATTACHMENTS_DIR@/';
/**