Django CVE-2019-12308 Cross Site Scripting Vulnerability
BID:108559
CVE-2019-12308 |Info
Django CVE-2019-12308 Cross Site Scripting Vulnerability
| Bugtraq ID: | 108559 |
| Class: | Input Validation Error |
| CVE: |
CVE-2019-12308 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 03 2019 12:00AM |
| Updated: | Jun 03 2019 12:00AM |
| Credit: | The vendor reported this issue. |
| Vulnerable: |
Redhat Satellite 6 Redhat OpenStack Platform 14.0 (Rocky) Redhat OpenStack Platform 13.0 (Queens) Redhat Gluster Storage 3.0 Djangoproject Django 2.2.1 Djangoproject Django 2.1.8 Djangoproject Django 2.1.7 Djangoproject Django 2.1.6 Djangoproject Django 2.1.5 Djangoproject Django 2.1.4 Djangoproject Django 2.1.3 Djangoproject Django 2.1.2 Djangoproject Django 2.1.1 Djangoproject Django 1.11.20 Djangoproject Django 1.11.19 Djangoproject Django 1.11.18 Djangoproject Django 1.11.17 Djangoproject Django 1.11.16 Djangoproject Django 1.11.15 Djangoproject Django 1.11.14 Djangoproject Django 1.11.13 Djangoproject Django 1.11.12 Djangoproject Django 1.11.11 Djangoproject Django 1.11.10 Djangoproject Django 1.11.9 Djangoproject Django 1.11.8 Djangoproject Django 1.11.7 Djangoproject Django 1.11.6 Djangoproject Django 1.11.5 Djangoproject Django 1.11.4 Djangoproject Django 1.11.3 Djangoproject Django 1.11.2 Djangoproject Django 1.11.1 Djangoproject Django 2.2 Djangoproject Django 2.1 Djangoproject Django 1.11 |
| Not Vulnerable: |
Djangoproject Django 2.2.2 Djangoproject Django 2.1.9 Djangoproject Django 1.11.21 |
Discussion
Django CVE-2019-12308 Cross Site Scripting Vulnerability
Django is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
The following products are affected:
Django master development branch
Django 2.2 prior to version 2.2.2
Django 2.1 prior to version 2.1.9
Django 1.11 prior to version 1.11.21
Django is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.
The following products are affected:
Django master development branch
Django 2.2 prior to version 2.2.2
Django 2.1 prior to version 2.1.9
Django 1.11 prior to version 1.11.21
Exploit / POC
Django CVE-2019-12308 Cross Site Scripting Vulnerability
Attackers can exploit this issue by enticing an unsuspecting user to follow a malicious URI.
Attackers can exploit this issue by enticing an unsuspecting user to follow a malicious URI.
Solution / Fix
Django CVE-2019-12308 Cross Site Scripting Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
Django CVE-2019-12308 Cross Site Scripting Vulnerability
References:
References:
- [1.11.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate UR�?� (Github)
- [2.2.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL�?� (Github)
- Added CVE-2019-12308 to the security release archive. (Github)
- Django 1.11.21 release notes (Django)
- Django 1.11.21 release notes (Django)
- Django 2.1.9 release notes (Django)
- Django 2.1.9 release notes (Django)
- Django 2.2.2 release notes (Django)
- Django Homepage (Django)
- Django security releases issued: 2.2.2, 2.1.9 and 1.11.21 (Django)