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

medium Nessus Plugin ID 64898
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 4.7

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

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

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