Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id 1A18763BC7C for ; Thu, 9 Sep 2010 13:34:07 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id B8D6463B102; Thu, 9 Sep 2010 13:34:06 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5E11963B100 for ; Thu, 9 Sep 2010 13:34:05 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 47E58175DD; Thu, 9 Sep 2010 13:34:05 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Thu, 9 Sep 2010 13:34:05 +0000 From: Adam Ciarcinski Subject: CVS commit: pkgsrc/www/py-django To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20100909133405.47E58175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: list Module Name: pkgsrc Committed By: adam Date: Thu Sep 9 13:34:05 UTC 2010 Modified Files: pkgsrc/www/py-django: Makefile PLIST distinfo Log Message: Changes 1.2.2: As of the 1.2 release, the core Django framework includes a system, enabled by default, for detecting and preventing cross-site request forgery (CSRF) attacks against Django-powered applications. Previous Django releases provided a different, optionally-enabled system for the same purpose. The Django 1.2 CSRF protection system involves the generation of a random token, inserted as a hidden field in outgoing forms. The same value is also set in a cookie, and the cookie value and form value are compared on submission. The provided template tag for inserting the CSRF token into forms -- {% csrf_token %} -- explicitly trusts the cookie value, and displays it as-is. Thus, an attacker who is able to tamper with the value of the CSRF cookie can cause arbitrary content to be inserted, unescaped, into the outgoing HTML of the form, enabling cross-site scripting (XSS) attacks. This issue was first reported via a public ticket in Django's Trac instance; while being triaged it was then independently reported, with broader description, by Jeff Balogh of Mozilla. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 pkgsrc/www/py-django/Makefile cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/py-django/PLIST cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/py-django/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.