Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Django vulnerabilities
Informations
Name USN-1066-1 First vendor Publication 2011-02-17
Vendor Ubuntu Last vendor Modification 2011-02-17
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

A security issue affects the following Ubuntu releases:

Ubuntu 9.10 Ubuntu 10.04 LTS Ubuntu 10.10

This advisory also applies to the corresponding versions of Kubuntu, Edubuntu, and Xubuntu.

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

Ubuntu 9.10:
python-django 1.1.1-1ubuntu1.2

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

Ubuntu 10.10:
python-django 1.2.3-1ubuntu0.2.10.10.2

ATTENTION: This update introduces a small backwards-imcompatible change to perform full CSRF validation on all requests. Prior to this update, AJAX requests were excepted from CSRF protections. For more details, please see http://docs.djangoproject.com/en/1.2/releases/1.2.5/.

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

Details follow:

It was discovered that Django did not properly validate HTTP requests that contain an X-Requested-With header. An attacker could exploit this vulnerability to perform cross-site request forgery (CSRF) attacks. (CVE-2011-0696)

It was discovered that Django did not properly sanitize its input when performing file uploads, resulting in cross-site scripting (XSS) vulnerabilities. With cross-site scripting vulnerabilities, if a user were tricked into viewing server output during a crafted server request, a remote attacker could exploit this to modify the contents, or steal confidential data, within the same domain. (CVE-2011-0697)

Original Source

Url : http://www.ubuntu.com/usn/USN-1066-1

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-352 Cross-Site Request Forgery (CSRF) (CWE/SANS Top 25)
50 % CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting') (CWE/SANS Top 25)

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:12419
 
Oval ID: oval:org.mitre.oval:def:12419
Title: DSA-2163-1 python-django -- multiple
Description: Several vulnerabilities were discovered in the django web development framework: CVE-2011-0696 For several reasons the internal CSRF protection was not used to validate ajax requests in the past. However, it was discovered that this exception can be exploited with a combination of browser plugins and redirects and thus is not sufficient. CVE-2011-0697 It was discovered that the file upload form is prone to cross-site scripting attacks via the file name. It is important to note that this update introduces minor backward incompatibilities due to the fixes for the above issues. Packages in the oldstable distribution are not affected by these problems.
Family: unix Class: patch
Reference(s): DSA-2163-1
CVE-2011-0696
CVE-2011-0697
Version: 5
Platform(s): Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): python-django
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:12682
 
Oval ID: oval:org.mitre.oval:def:12682
Title: DSA-2163-2 dajaxice -- multiple
Description: The changes in python-django DSA-2163 necessary to fix the issues CVE-2011-0696 and CVE-2011-0697 introduced an unavoidable backward incompatibility, which caused a regression in dajaxice, which depends on python-django. This update supplies fixed packages for dajaxice.
Family: unix Class: patch
Reference(s): DSA-2163-2
CVE-2011-0696
CVE-2011-0697
Version: 5
Platform(s): Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): dajaxice
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:13659
 
Oval ID: oval:org.mitre.oval:def:13659
Title: USN-1066-1 -- python-django vulnerabilities
Description: It was discovered that Django did not properly validate HTTP requests that contain an X-Requested-With header. An attacker could exploit this vulnerability to perform cross-site request forgery attacks. It was discovered that Django did not properly sanitize its input when performing file uploads, resulting in cross-site scripting vulnerabilities. With cross-site scripting vulnerabilities, if a user were tricked into viewing server output during a crafted server request, a remote attacker could exploit this to modify the contents, or steal confidential data, within the same domain
Family: unix Class: patch
Reference(s): USN-1066-1
CVE-2011-0696
CVE-2011-0697
Version: 5
Platform(s): Ubuntu 10.10
Ubuntu 9.10
Ubuntu 10.04
Product(s): python-django
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 9

OpenVAS Exploits

Date Description
2011-09-30 Name : Fedora Update for Django FEDORA-2011-12481
File : nvt/gb_fedora_2011_12481_Django_fc14.nasl
2011-09-12 Name : Fedora Update for audacious-plugins FEDORA-2011-12350
File : nvt/gb_fedora_2011_12350_audacious-plugins_fc15.nasl
2011-03-09 Name : Debian Security Advisory DSA 2163-2 (dajaxice)
File : nvt/deb_2163_2.nasl
2011-03-07 Name : Debian Security Advisory DSA 2163-1 (python-django)
File : nvt/deb_2163_1.nasl
2011-02-22 Name : Fedora Update for Django FEDORA-2011-1235
File : nvt/gb_fedora_2011_1235_Django_fc14.nasl
2011-02-22 Name : Fedora Update for Django FEDORA-2011-1261
File : nvt/gb_fedora_2011_1261_Django_fc13.nasl
2011-02-22 Name : Mandriva Update for python-django MDVSA-2011:031 (python-django)
File : nvt/gb_mandriva_MDVSA_2011_031.nasl
2011-02-18 Name : Ubuntu Update for python-django vulnerabilities USN-1066-1
File : nvt/gb_ubuntu_USN_1066_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
71000 Django File Upload Field Filename XSS

Django contains a flaw that allows a remote cross-site scripting (XSS) attack. This flaw exists because the application does not validate the filename of uploaded files upon submission to the 'file' field. This may allow a user to create a specially crafted URL that would execute arbitrary script code in a user's browser within the trust relationship between their browser and the server.
70999 Django X-Requested-With Header CSRF

Django contains a flaw that allows a remote Cross-site Request Forgery (CSRF / XSRF) attack. The flaw exists because the application does not properly validate HTTP requests that contain an X-Requested-With header. By using a crafted URL (e.g., a crafted GET request inside an "img" tag), an attacker may use a forged Ajax request to trick the victim into clicking on the image to take advantage of the trust relationship between the authenticated victim and the application. Such an attack could trick the victim into executing arbitrary commands in the context of their session with the application, without further prompting or verification.

Nessus® Vulnerability Scanner

Date Description
2011-02-20 Name : The remote Fedora host is missing a security update.
File : fedora_2011-1235.nasl - Type : ACT_GATHER_INFO
2011-02-20 Name : The remote Fedora host is missing a security update.
File : fedora_2011-1261.nasl - Type : ACT_GATHER_INFO
2011-02-20 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2011-031.nasl - Type : ACT_GATHER_INFO
2011-02-18 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-1066-1.nasl - Type : ACT_GATHER_INFO
2011-02-15 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2163.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:58:18
  • Multiple Updates