Vulnerability Name:

CVE-2011-4140 (CCN-70756)

Assigned:2011-09-12
Published:2011-09-12
Updated:2018-01-18
Summary:The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
5.9 Medium (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.3 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-352
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2011-4140

Source: MLIST
Type: Patch
[oss-security] 20110911 CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws

Source: MLIST
Type: Patch
[oss-security] 20110913 Re: CVE Request -- Django: v1.3.1, v1.2.7 multiple security flaws

Source: SECUNIA
Type: UNKNOWN
46614

Source: DEBIAN
Type: UNKNOWN
DSA-2332

Source: DEBIAN
Type: DSA-2332
python-django -- several issues

Source: CCN
Type: OSVDB ID: 76811
Django HTTP Host Header DNS CNAME Record Parsing CSRF Protection Weakness

Source: CONFIRM
Type: Patch
https://bugzilla.redhat.com/show_bug.cgi?id=737366

Source: XF
Type: UNKNOWN
django-webserver-csrf(70756)

Source: SUSE
Type: UNKNOWN
openSUSE-SU-2012:0653

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2011/sep/09/

Source: CCN
Type: Django Web site
Security releases issued

Source: CONFIRM
Type: Patch
https://www.djangoproject.com/weblog/2011/sep/10/127/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:djangoproject:django:0.91:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:0.95:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:0.95.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:0.96:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.0:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.1:2:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.4:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.5:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:*:*:*:*:*:*:*:* (Version <= 1.2.6)
  • OR cpe:/a:djangoproject:django:1.3:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.3:alpha2:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:djangoproject:django:1.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.4:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.2.5:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.mitre.oval:def:15216
    P
    DSA-2332-1 python-django -- several issues
    2014-06-23
    BACK
    djangoproject django 0.91
    djangoproject django 0.95
    djangoproject django 0.95.1
    djangoproject django 0.96
    djangoproject django 1.0
    djangoproject django 1.0.1
    djangoproject django 1.0.2
    djangoproject django 1.1
    djangoproject django 1.1.0
    djangoproject django 1.1.2
    djangoproject django 1.1.3
    djangoproject django 1.2
    djangoproject django 1.2.1
    djangoproject django 1.2.1 2
    djangoproject django 1.2.2
    djangoproject django 1.2.3
    djangoproject django 1.2.4
    djangoproject django 1.2.5
    djangoproject django *
    djangoproject django 1.3
    djangoproject django 1.3 alpha1
    djangoproject django 1.3 alpha2
    djangoproject django 1.1
    djangoproject django 1.2
    djangoproject django 1.2.2
    djangoproject django 1.1.1
    djangoproject django 1.2.4
    djangoproject django 1.2.5