Record summary

EIP currently links 1 Nuclei template to CVE-2017-12794.

Description

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.

Description source: CVE List

Exploitation context

Available material

Nuclei templates
1

Affected products and versions

1
ProductSourceVersion rangeStatus
GitHub Advisory1.10a1 to < 1.10.8 · Fixed in 1.10.8affected
1.11a1 to < 1.11.5 · Fixed in 1.11.5affected

Nuclei templates

1
ProjectDiscoveryMEDIUMDjango Debug Page - Cross-Site ScriptingCVSS 6.1

Django 1.10.x before 1.10.8 and 1.11.x before 1.11.5 has HTML autoescaping disabled in a portion of the template for the technical 500 debug page. We detected that right circumstances (DEBUG=True) are present to allow a cross-site scripting attack.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential session hijacking, defacement, or theft of sensitive information.

Remediation

Upgrade to a patched version of Django or apply the necessary security patches provided by the Django project.

WeaknessesCWE-79
Authorspikpikcu
Template tagscve2017cvexssdjangodjangoprojectvuln
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CPE: cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*
Shodan: cpe:"cpe:2.3:a:djangoproject:django"

Source: ProjectDiscovery

References

12