Thursday, March 7, 2013

[USN-1757-1] Django vulnerabilities

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBCgAGBQJROOCLAAoJEGVp2FWnRL6TPSsQAIumkQUN4bTuhwNdTYJXg+EP
qTPPbBFIqHjGR709lUGtn1ouXY2iKH+jKZUSgm3VvimyHOT0zkdLq4mPCKW0A2iL
+jKig3iqtRYpaxU8cKX1YEc+cX63zwgAtw/yI8BPqp+rxbHCXN4u7JhueSZx4gkM
JNYLeIXcfsYdQtwL2oQ2ZFhTVMXhYQFKDhra4Xdtx6/kgN0cKdCa3hhI4nOZNz/+
9EmWGlQOnu1XqqB7rgU6pC6cf2vnsV6171y6EDyRqzHiLdd2EgytAgJqoNrEpxYt
nY/x7ES+21rLYnRmjjxn/K/PZVmR3MTVkPs9K+Nt9NOqunKyqq/QX7xr9RIf3aG7
eI0flY1dWeO5qUA45/W2mJ/fEDXjRMXC3w5POSEYWj0FRdDHq1CAxdxbPiUP4NNI
gTarjWfZJn7gzupgeV3qTELsV8muw2pUN/+MsNo+BfFnl2qfXr/ZTsTvVJAUJM7q
vL9iotiqv9KwYb4NG5hkZCIySyX0i6ngVRmPyrs8twCOv6QMN0w/xbO8QfLbtiyl
ErQ3fpVAW7aC8x/YzWOpIfYBeiMggoWfsg/6sN0Q9nZbHBcc4PXcXa5BrHh2jlaP
lg48UK1itCyAGyqUDLrQDfl5SPpO6pWGUM8FZQiGrWuOHaRNIz3d+j5DEvQGDEQt
7O2spT/6s3saeUqthV7p
=QqjO
-----END PGP SIGNATURE-----
==========================================================================
Ubuntu Security Notice USN-1757-1
March 07, 2013

python-django vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 12.10
- Ubuntu 12.04 LTS
- Ubuntu 11.10
- Ubuntu 10.04 LTS

Summary:

Several security issues were fixed in Django.

Software Description:
- python-django: High-level Python web development framework

Details:

James Kettle discovered that Django did not properly filter the Host HTTP
header when processing certain requests. An attacker could exploit this to
generate and display arbitrary URLs to users. Although this issue had been
previously addressed in USN-1632-1, this update adds additional hardening
measures to host header validation. This update also adds a new
ALLOWED_HOSTS setting that can be set to a list of acceptable values for
headers. (CVE-2012-4520)

Orange Tsai discovered that Django incorrectly performed permission checks
when displaying the history view in the admin interface. An administrator
could use this flaw to view the history of any object, regardless of
intended permissions. (CVE-2013-0305)

It was discovered that Django incorrectly handled a large number of forms
when generating formsets. An attacker could use this flaw to cause Django
to consume memory, resulting in a denial of service. (CVE-2013-0306)

It was discovered that Django incorrectly deserialized XML. An attacker
could use this flaw to perform entity-expansion and external-entity/DTD
attacks. This updated modified Django behaviour to no longer allow DTDs,
perform entity expansion, or fetch external entities/DTDs. (CVE-2013-1664,
CVE-2013-1665)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 12.10:
python-django 1.4.1-2ubuntu0.3

Ubuntu 12.04 LTS:
python-django 1.3.1-4ubuntu1.6

Ubuntu 11.10:
python-django 1.3-2ubuntu1.6

Ubuntu 10.04 LTS:
python-django 1.1.1-2ubuntu1.8

In general, a standard system update will make all the necessary changes.

References:
http://www.ubuntu.com/usn/usn-1757-1
CVE-2012-4520, CVE-2013-0305, CVE-2013-0306, CVE-2013-1664,
CVE-2013-1665

Package Information:
https://launchpad.net/ubuntu/+source/python-django/1.4.1-2ubuntu0.3
https://launchpad.net/ubuntu/+source/python-django/1.3.1-4ubuntu1.6
https://launchpad.net/ubuntu/+source/python-django/1.3-2ubuntu1.6
https://launchpad.net/ubuntu/+source/python-django/1.1.1-2ubuntu1.8

No comments:

Post a Comment