Django: Mitigated possible XSS attack via user-supplied redirect URLs
Published Jan 16, 2015
5.3
MEDIUMCVSS 4.0
EPSS 3.05%
Description
The django.util.http.is_safe_url function in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 does not properly handle leading whitespaces, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL, related to redirect URLs, as demonstrated by a "\njavascript:" URL.
Affected products
No data.
Configuration 1
- 10.04
- 12.04
- 14.04
- 14.10
Configuration 2
- ≤ 1.4.17
- 1.6
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- 1.7
- 1.7.1
- 1.7.2
No data.
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)
python-django
Not affected
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)
python-django
Not affected
Red Hat OpenStack Platform 4
Django14
Not affected
Red Hat Subscription Asset Manager
Django
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) | python-django | Not affected | n/a |
| Red Hat Enterprise Linux OpenStack Platform 6 (Juno) | python-django | Not affected | n/a |
| Red Hat OpenStack Platform 4 | Django14 | Not affected | n/a |
| Red Hat Subscription Asset Manager | Django | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (27)
- http://advisories.mageia.org/MGASA-2015-0026.html x_refsource_CONFIRM
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html vendor-advisoryx_refsource_FEDORA
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/62285 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/62309 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/62718 third-party-advisoryx_refsource_SECUNIA
- http://ubuntu.com/usn/usn-2469-1 vendor-advisoryx_refsource_UBUNTU
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:036 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:109 vendor-advisoryx_refsource_MANDRIVA
- https://access.redhat.com/security/cve/CVE-2015-0220 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1179675 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2015-0014 Advisory
- https://github.com/advisories/GHSA-gv98-g628-m9x5 Advisory
- https://github.com/django/django/blob/4555a823fd57e261e1b19c778429473256c8ea08/docs/releases/1.4.18.txt#L34-L46
- https://github.com/django/django/commit/4c241f1b710da6419d9dca160e80b23b82db7758
- https://github.com/django/django/commit/72e0b033662faa11bb7f516f18a132728aa0ae28
- https://github.com/django/django/commit/de67dedc771ad2edec15c1d00c083a1a084e1e89
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-5.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2015-0220
- https://web.archive.org/web/20150128111656/http://secunia.com/advisories/62285
- https://web.archive.org/web/20150523054951/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:109/?name=MDVSA-2015:109
- https://web.archive.org/web/20150523054953/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:036/?name=MDVSA-2015:036
- https://web.archive.org/web/20151104201446/http://secunia.com/advisories/62718
- https://www.cve.org/CVERecord?id=CVE-2015-0220
- https://www.djangoproject.com/weblog/2015/jan/13/security x_refsource_CONFIRMExploitVendor Advisory
Change history (0)
No recorded changes yet.