tags 695789 + patch pending thanks
Dear maintainer, I've prepared an NMU for mahara (versioned as 1.5.1-3.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru mahara-1.5.1/debian/changelog mahara-1.5.1/debian/changelog --- mahara-1.5.1/debian/changelog 2012-11-16 09:33:12.000000000 +0100 +++ mahara-1.5.1/debian/changelog 2012-12-23 15:02:25.000000000 +0100 @@ -1,3 +1,14 @@ +mahara (1.5.1-3.1) unstable; urgency=high + + * Non-maintainer upload. + * SECURITY UPDATE: Fix a cross-site scripting (XSS) vulnerability + which allowed remote attackers to inject arbitrary web script or + HTML via the query parameter. + - debian/patches/CVE-2012-2253.patch + - Closes: #695789 + + -- Luca Falavigna <dktrkr...@debian.org> Sun, 23 Dec 2012 14:53:41 +0100 + mahara (1.5.1-3) unstable; urgency=high * SECURITY UPDATE: Disable XML entity parsing to prevent XEE diff -Nru mahara-1.5.1/debian/patches/CVE-2012-2253.patch mahara-1.5.1/debian/patches/CVE-2012-2253.patch --- mahara-1.5.1/debian/patches/CVE-2012-2253.patch 1970-01-01 01:00:00.000000000 +0100 +++ mahara-1.5.1/debian/patches/CVE-2012-2253.patch 2012-12-23 15:02:25.000000000 +0100 @@ -0,0 +1,24 @@ +Author: Hugh Davenport <h...@catalyst.net.nz> +Subject: Cross-site scripting (XSS) vulnerability +Origin: upstream +Bug: https://bugs.launchpad.net/mahara/+bug/1079498 + + CVE-2012-2253 + + Cross-site scripting (XSS) vulnerability which allowed remote + attackers to inject arbitrary web script or HTML via the query + parameter. + +Index: mahara/htdocs/lib/web.php +=================================================================== +--- mahara.orig/htdocs/lib/web.php 2012-12-23 14:44:57.009756577 +0100 ++++ mahara/htdocs/lib/web.php 2012-12-23 14:47:02.405760418 +0100 +@@ -3273,7 +3273,7 @@ + } + else { + $return .= '">' +- . '<a href="' . $url . '" title="' . $title ++ . '<a href="' . hsc($url) . '" title="' . $title + . '">' . $text . '</a></span>'; + } + diff -Nru mahara-1.5.1/debian/patches/series mahara-1.5.1/debian/patches/series --- mahara-1.5.1/debian/patches/series 2012-11-16 09:32:59.000000000 +0100 +++ mahara-1.5.1/debian/patches/series 2012-12-23 15:02:25.000000000 +0100 @@ -10,3 +10,4 @@ CVE-2012-2244-0003.patch CVE-2012-2246.patch CVE-2012-2247.patch +CVE-2012-2253.patch