cve-2017-12794
Vulnerability from cvelistv5
Published
2017-09-07 13:00
Modified
2024-08-05 18:51
Severity ?
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.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-05T18:51:07.127Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "USN-3559-1",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "https://usn.ubuntu.com/3559-1/"
          },
          {
            "name": "100643",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/100643"
          },
          {
            "name": "1039264",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://www.securitytracker.com/id/1039264"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2017-09-05T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t affect most production sites since you shouldn\u0027t run with \"DEBUG = True\" (which makes this page accessible) in your production settings."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-03-15T09:57:02",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "name": "USN-3559-1",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "https://usn.ubuntu.com/3559-1/"
        },
        {
          "name": "100643",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/100643"
        },
        {
          "name": "1039264",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://www.securitytracker.com/id/1039264"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2017-12794",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "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\u0027t affect most production sites since you shouldn\u0027t run with \"DEBUG = True\" (which makes this page accessible) in your production settings."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "USN-3559-1",
              "refsource": "UBUNTU",
              "url": "https://usn.ubuntu.com/3559-1/"
            },
            {
              "name": "100643",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/100643"
            },
            {
              "name": "1039264",
              "refsource": "SECTRACK",
              "url": "http://www.securitytracker.com/id/1039264"
            },
            {
              "name": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/",
              "refsource": "CONFIRM",
              "url": "https://www.djangoproject.com/weblog/2017/sep/05/security-releases/"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2017-12794",
    "datePublished": "2017-09-07T13:00:00",
    "dateReserved": "2017-08-10T00:00:00",
    "dateUpdated": "2024-08-05T18:51:07.127Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"5D2541CE-0462-46DF-BDD8-C19D6E45140B\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"2CE31960-7C68-42F3-B215-B30A87DB67CC\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"B3838B8E-8F0E-4F7A-88E6-FFF2590E5302\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"0D6C6214-7946-4025-84E6-59448CFE75B1\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"58182835-CB1F-4490-AE65-90601DBFD0D5\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"04AE04CD-E923-4630-9BAA-5A4D5A5D0055\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"2517FB1C-B732-432B-9F27-EE60F6556433\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.10.7:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"28F4BB27-B6AF-47AD-9301-DDFF4198B9F1\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.11.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"CC58EB0F-6DE0-450B-A963-2CA4084BDE71\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.11.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"437E4D87-F5C9-4954-9882-396C0ADF649E\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.11.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"D64C7397-B2A8-4C93-AC09-337E243A7483\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.11.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"4F3CDEA7-EFB7-4F4B-872B-1D18CDE340CB\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:djangoproject:django:1.11.4:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"08EFE4B2-E975-4842-BCAB-528D03F4AB73\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"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\u0027t affect most production sites since you shouldn\u0027t run with \\\"DEBUG = True\\\" (which makes this page accessible) in your production settings.\"}, {\"lang\": \"es\", \"value\": \"En Django versiones 1.10.x anteriores a la 1.10.8 y versiones 1.11.x anteriores a la 1.11.5, se deshabilit\\u00f3 la funci\\u00f3n de autoescapado HTML en una parte de la plantilla para la p\\u00e1gina de depuraci\\u00f3n technical 500. En las condiciones adecuadas, esto permitir\\u00eda un ataque de Cross-Site Scripting (XSS). Esta vulnerabilidad no deber\\u00eda afectar a la mayor\\u00eda de sitios de producci\\u00f3n, ya que no se deber\\u00eda ejecutar el programa con \\\"DEBUG = True\\\" (lo que hace que esta p\\u00e1gina sea accesible) en la configuraci\\u00f3n de producci\\u00f3n.\"}]",
      "id": "CVE-2017-12794",
      "lastModified": "2024-11-21T03:10:12.357",
      "metrics": "{\"cvssMetricV30\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.0\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\", \"baseScore\": 6.1, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"REQUIRED\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"LOW\", \"integrityImpact\": \"LOW\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.8, \"impactScore\": 2.7}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:M/Au:N/C:N/I:P/A:N\", \"baseScore\": 4.3, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"MEDIUM\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"PARTIAL\", \"availabilityImpact\": \"NONE\"}, \"baseSeverity\": \"MEDIUM\", \"exploitabilityScore\": 8.6, \"impactScore\": 2.9, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": true}]}",
      "published": "2017-09-07T13:29:00.467",
      "references": "[{\"url\": \"http://www.securityfocus.com/bid/100643\", \"source\": \"cve@mitre.org\", \"tags\": [\"Third Party Advisory\", \"VDB Entry\"]}, {\"url\": \"http://www.securitytracker.com/id/1039264\", \"source\": \"cve@mitre.org\", \"tags\": [\"Third Party Advisory\", \"VDB Entry\"]}, {\"url\": \"https://usn.ubuntu.com/3559-1/\", \"source\": \"cve@mitre.org\"}, {\"url\": \"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/\", \"source\": \"cve@mitre.org\", \"tags\": [\"Patch\", \"Vendor Advisory\"]}, {\"url\": \"http://www.securityfocus.com/bid/100643\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\", \"VDB Entry\"]}, {\"url\": \"http://www.securitytracker.com/id/1039264\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\", \"VDB Entry\"]}, {\"url\": \"https://usn.ubuntu.com/3559-1/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\", \"Vendor Advisory\"]}]",
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-79\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2017-12794\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2017-09-07T13:29:00.467\",\"lastModified\":\"2024-11-21T03:10:12.357\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027t affect most production sites since you shouldn\u0027t run with \\\"DEBUG = True\\\" (which makes this page accessible) in your production settings.\"},{\"lang\":\"es\",\"value\":\"En Django versiones 1.10.x anteriores a la 1.10.8 y versiones 1.11.x anteriores a la 1.11.5, se deshabilit\u00f3 la funci\u00f3n de autoescapado HTML en una parte de la plantilla para la p\u00e1gina de depuraci\u00f3n technical 500. En las condiciones adecuadas, esto permitir\u00eda un ataque de Cross-Site Scripting (XSS). Esta vulnerabilidad no deber\u00eda afectar a la mayor\u00eda de sitios de producci\u00f3n, ya que no se deber\u00eda ejecutar el programa con \\\"DEBUG = True\\\" (lo que hace que esta p\u00e1gina sea accesible) en la configuraci\u00f3n de producci\u00f3n.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":2.7}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:M/Au:N/C:N/I:P/A:N\",\"baseScore\":4.3,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":8.6,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5D2541CE-0462-46DF-BDD8-C19D6E45140B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2CE31960-7C68-42F3-B215-B30A87DB67CC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B3838B8E-8F0E-4F7A-88E6-FFF2590E5302\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0D6C6214-7946-4025-84E6-59448CFE75B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"58182835-CB1F-4490-AE65-90601DBFD0D5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"04AE04CD-E923-4630-9BAA-5A4D5A5D0055\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2517FB1C-B732-432B-9F27-EE60F6556433\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.10.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"28F4BB27-B6AF-47AD-9301-DDFF4198B9F1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.11.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CC58EB0F-6DE0-450B-A963-2CA4084BDE71\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.11.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"437E4D87-F5C9-4954-9882-396C0ADF649E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.11.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D64C7397-B2A8-4C93-AC09-337E243A7483\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.11.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"4F3CDEA7-EFB7-4F4B-872B-1D18CDE340CB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:djangoproject:django:1.11.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"08EFE4B2-E975-4842-BCAB-528D03F4AB73\"}]}]}],\"references\":[{\"url\":\"http://www.securityfocus.com/bid/100643\",\"source\":\"cve@mitre.org\",\"tags\":[\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"http://www.securitytracker.com/id/1039264\",\"source\":\"cve@mitre.org\",\"tags\":[\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://usn.ubuntu.com/3559-1/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.securityfocus.com/bid/100643\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"http://www.securitytracker.com/id/1039264\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://usn.ubuntu.com/3559-1/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://www.djangoproject.com/weblog/2017/sep/05/security-releases/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.