Debian DSA-2634-1 : python-django - several vulnerabilities

medium Nessus Plugin ID 64898

Synopsis

The remote Debian host is missing a security-related update.

Description

Several vulnerabilities have been discovered in Django, a high-level Python web development framework. The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2012-4520 James Kettle discovered that Django did not properly filter the HTTP Host header when processing certain requests. An attacker could exploit this to generate and cause parts of Django, particularly the password-reset mechanism, to display arbitrary URLs to users.

- CVE-2013-0305 Orange Tsai discovered that the bundled administrative interface of Django could expose supposedly-hidden information via its history log.

- CVE-2013-0306 Mozilla discovered that an attacker can abuse Django's tracking of the number of forms in a formset to cause a denial-of-service attack due to extreme memory consumption.

- CVE-2013-1665 Michael Koziarski discovered that Django's XML deserialization is vulnerable to entity-expansion and external-entity/DTD attacks.

Solution

Upgrade the python-django packages.

For the stable distribution (squeeze), these problems have been fixed in version 1.2.3-3+squeeze5.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701186

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696535

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145

https://security-tracker.debian.org/tracker/CVE-2012-4520

https://security-tracker.debian.org/tracker/CVE-2013-0305

https://security-tracker.debian.org/tracker/CVE-2013-0306

https://security-tracker.debian.org/tracker/CVE-2013-1665

https://packages.debian.org/source/squeeze/python-django

https://www.debian.org/security/2013/dsa-2634

Plugin Details

Severity: Medium

ID: 64898

File Name: debian_DSA-2634.nasl

Version: 1.9

Type: local

Agent: unix

Published: 2/27/2013

Updated: 1/11/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.7

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:6.0, p-cpe:/a:debian:debian_linux:python-django

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 2/27/2013

Reference Information

CVE: CVE-2012-4520, CVE-2013-0305, CVE-2013-0306, CVE-2013-1665

BID: 56146, 58022, 58061

DSA: 2634