Vulnerability Name:

CVE-2017-12794 (CCN-131589)

Assigned:2017-09-05
Published:2017-09-05
Updated:2018-03-16
Summary:In Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5, HTML autoescaping was disabled in a portion of the template for the technical 500 debug page. Given the right circumstances, this allowed a cross-site scripting attack. This vulnerability shouldn't affect most production sites since you shouldn't run with "DEBUG = True" (which makes this page accessible) in your production settings.
CVSS v3 Severity:6.1 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
6.1 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2017-12794

Source: CCN
Type: SECTRACK ID: 1039264
Django Input Validation Flaw in Technical 500 Template Lets Remote Users Conduct Cross-Site Scripting Attacks

Source: BID
Type: Third Party Advisory, VDB Entry
100643

Source: CCN
Type: BID-100643
Django CVE-2017-12794 Cross Site Scripting Vulnerability

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1039264

Source: XF
Type: UNKNOWN
django-cve201712794-xss(131589)

Source: UBUNTU
Type: UNKNOWN
USN-3559-1

Source: CCN
Type: Django Web site
Django security releases issued: 1.11.5 and 1.10.8

Source: CONFIRM
Type: Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2017/sep/05/security-releases/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:djangoproject:django:1.10.0:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.3:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.4:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.5:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.6:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.10.7:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.11.0:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.11.1:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.11.2:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.11.3:*:*:*:*:*:*:*
  • OR cpe:/a:djangoproject:django:1.11.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201712794
    V
    CVE-2017-12794
    2022-06-30
    oval:org.opensuse.security:def:113248
    P
    python36-Django-3.2.7-2.3 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:58069
    P
    Security update for xorg-x11-server (Important)
    2021-12-14
    oval:org.opensuse.security:def:58045
    P
    Security update for the Linux Kernel (Live Patch 40 for SLE 12 SP3) (Important)
    2021-11-19
    oval:org.opensuse.security:def:106660
    P
    python36-Django-3.2.7-2.3 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:57095
    P
    Security update for the Linux Kernel (Live Patch 40 for SLE 12 SP3) (Important)
    2021-09-23
    oval:org.opensuse.security:def:57995
    P
    Security update for the Linux Kernel (Live Patch 37 for SLE 12 SP3) (Important)
    2021-08-25
    oval:org.opensuse.security:def:55223
    P
    Security update for systemd (Important)
    2021-07-21
    oval:org.opensuse.security:def:56046
    P
    Security update for the Linux Kernel (Important)
    2021-07-20
    oval:org.opensuse.security:def:55200
    P
    Security update for libX11 (Important)
    2021-06-08
    oval:org.opensuse.security:def:57926
    P
    Security update for the Linux Kernel (Live Patch 36 for SLE 12 SP3) (Important)
    2021-06-04
    oval:org.opensuse.security:def:55880
    P
    Security update for the Linux Kernel (Live Patch 38 for SLE 12 SP2) (Important)
    2021-04-12
    oval:org.opensuse.security:def:57964
    P
    Security update for MozillaFirefox (Important)
    2021-01-29
    oval:org.opensuse.security:def:55201
    P
    Security update for java-1_7_1-ibm (Moderate)
    2021-01-04
    oval:org.opensuse.security:def:56922
    P
    Security update for clamav (Important)
    2020-12-22
    oval:org.opensuse.security:def:55774
    P
    Security update for the Linux Kernel (Live Patch 34 for SLE 12 SP2) (Important)
    2020-12-07
    oval:org.opensuse.security:def:55363
    P
    python-libxml2 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56521
    P
    Security update for gpg2 (Important)
    2020-12-01
    oval:org.opensuse.security:def:25697
    P
    Security update for ImageMagick (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56439
    P
    Security update for samba and resource-agents (Important)
    2020-12-01
    oval:org.opensuse.security:def:25392
    P
    Security update for samba (Important)
    2020-12-01
    oval:org.opensuse.security:def:56724
    P
    Security update for clamav (Important)
    2020-12-01
    oval:org.opensuse.security:def:25683
    P
    Security update for ucode-intel (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56331
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:25308
    P
    Security update for java-1_7_1-ibm (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56684
    P
    Security update for libqt5-qtbase (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26414
    P
    Security update for python-Django (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56643
    P
    Security update for ImageMagick (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57760
    P
    libMagickCore-6_Q16-1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25251
    P
    Security update for java-1_7_0-openjdk (Important)
    2020-12-01
    oval:org.opensuse.security:def:56544
    P
    Security update for rsyslog (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:24968
    P
    Security update for avahi (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56605
    P
    Security update for ghostscript (Important)
    2020-12-01
    oval:org.opensuse.security:def:57652
    P
    Security update for xen (Important)
    2020-12-01
    oval:org.opensuse.security:def:25170
    P
    Security update for git (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56522
    P
    Security update for rsync (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56531
    P
    Security update for unixODBC (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57367
    P
    Security update for gpgme
    2020-12-01
    oval:org.opensuse.security:def:25043
    P
    Security update for python-xdg (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26379
    P
    Security update for irssi (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25595
    P
    Security update for java-1_8_0-ibm (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57201
    P
    Security update for coreutils
    2020-12-01
    oval:org.opensuse.security:def:55601
    P
    Security update for spice (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:24979
    P
    Security update for polkit (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25741
    P
    Security update for vino (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57852
    P
    libspice-client-glib-2_0-8 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25542
    P
    Security update for java-1_8_0-openjdk (Important)
    2020-12-01
    oval:org.opensuse.security:def:80704
    P
    Security update for python-Django (Moderate)
    2018-04-18
    oval:com.ubuntu.artful:def:201712794000
    V
    CVE-2017-12794 on Ubuntu 17.10 (artful) - low.
    2017-09-07
    oval:com.ubuntu.xenial:def:2017127940000000
    V
    CVE-2017-12794 on Ubuntu 16.04 LTS (xenial) - low.
    2017-09-07
    oval:com.ubuntu.trusty:def:201712794000
    V
    CVE-2017-12794 on Ubuntu 14.04 LTS (trusty) - low.
    2017-09-07
    oval:com.ubuntu.xenial:def:201712794000
    V
    CVE-2017-12794 on Ubuntu 16.04 LTS (xenial) - low.
    2017-09-07
    BACK
    djangoproject django 1.10.0
    djangoproject django 1.10.1
    djangoproject django 1.10.2
    djangoproject django 1.10.3
    djangoproject django 1.10.4
    djangoproject django 1.10.5
    djangoproject django 1.10.6
    djangoproject django 1.10.7
    djangoproject django 1.11.0
    djangoproject django 1.11.1
    djangoproject django 1.11.2
    djangoproject django 1.11.3
    djangoproject django 1.11.4