CVE-2017-7233
published 2017-04-04CVE-2017-7233: Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The…
PriorityP424medium6.1CVSS 3.0
AVNACLPRNUIRSCCLILAN
EPSS
2.38%
81.8th percentile
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
Affected
42 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | python-django | < python-django 1:1.10.7-1 (bookworm) | python-django 1:1.10.7-1 (bookworm) |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
CVSS provenance
nvdv3.06.1MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
vendor_ubuntu6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
vendor_redhat·2017-04-04·CVSS 6.1
CVE-2017-7233 [MEDIUM] CWE-79 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
A redirect flaw, where the is_safe_url() function did not correctly sanitize numeric-URL user input, was found in python-django. A remote attacker could exploit this flaw to perform XSS attacks against the OpenStack dashboar
Ubuntu
Django vulnerabilities
vendor_ubuntu·2017-04-04·CVSS 6.1
CVE-2017-7233 [MEDIUM] Django vulnerabilities
Title: Django vulnerabilities
Summary: Several security issues were fixed in Django.
It was discovered that Django incorrectly handled numeric redirect URLs. A
remote attacker could possibly use this issue to perform XSS attacks, and
to use a Django server as an open redirect. (CVE-2017-7233)
Phithon Gong discovered that Django incorrectly handled certain URLs when
the jango.views.static.serve() view is being used. A remote attacker could
possibly use a Django server as an open redirect. (CVE-2017-7234)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2017-7233: python-django - Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on us...
vendor_debian·2017·CVSS 6.1
CVE-2017-7233 [MEDIUM] CVE-2017-7233: python-django - Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on us...
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
Scope: local
bookworm: resolved (fixed in 1:1.10.7-1)
bullseye: resolved (fixed in 1:1.10.7-1)
forky: resolved (fixed in 1:1.10.7-1)
sid: resolved (fixed in 1:1.10.7-1)
trixie: resolved (fixed in 1:1.10.7-1)
GHSA
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
ghsa·2019-01-04
CVE-2017-7233 [MEDIUM] CWE-601 Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
OSV
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
osv·2019-01-04
CVE-2017-7233 [MEDIUM] Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
OSV
python-django vulnerabilities
osv·2017-04-04·CVSS 6.1
CVE-2017-7233 [MEDIUM] python-django vulnerabilities
python-django vulnerabilities
It was discovered that Django incorrectly handled numeric redirect URLs. A
remote attacker could possibly use this issue to perform XSS attacks, and
to use a Django server as an open redirect. (CVE-2017-7233)
Phithon Gong discovered that Django incorrectly handled certain URLs when
the jango.views.static.serve() view is being used. A remote attacker could
possibly use a Django server as an open redirect. (CVE-2017-7234)
OSV
CVE-2017-7233: Django 1
osv·2017-04-04·CVSS 6.1
CVE-2017-7233 [MEDIUM] CVE-2017-7233: Django 1
Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [fedora-all]
bugzilla·2017-09-05·CVSS 6.1
CVE-2017-7233 [MEDIUM] CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [fedora-all]
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this
Bugzilla
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-7]
bugzilla·2017-09-05·CVSS 6.1
CVE-2017-7233 [MEDIUM] CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-7]
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use t
Bugzilla
CVE-2017-7233 Django14: python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-6]
bugzilla·2017-09-05·CVSS 6.1
CVE-2017-7233 [MEDIUM] CVE-2017-7233 Django14: python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-6]
CVE-2017-7233 Django14: python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discuss
Bugzilla
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
bugzilla·2017-03-29·CVSS 6.1
CVE-2017-7233 [MEDIUM] CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
Django relies on user input in some cases (e.g. django.contrib.auth.views.login() and i18n to redirect the user to an "on success" URL. The security check for these redirects (namely django.utils.http.is_safe_url()) considered some numeric URLs (e.g. http:999999999) "safe" when they shouldn't be.
Also, if a developer relies on is_safe_url() to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.
Affected versions:
* Django master development branch
* Django 1.11 (currently at release candidate status)
* Django 1.10
* Django 1.9
* Django 1.8
Discussion:
Acknowledgments:
Name: the Django project
---
Created attachment 1267353
Upstr
http://www.debian.org/security/2017/dsa-3835http://www.securityfocus.com/bid/97406http://www.securitytracker.com/id/1038177https://access.redhat.com/errata/RHSA-2017:1445https://access.redhat.com/errata/RHSA-2017:1451https://access.redhat.com/errata/RHSA-2017:1462https://access.redhat.com/errata/RHSA-2017:1470https://access.redhat.com/errata/RHSA-2017:1596https://access.redhat.com/errata/RHSA-2017:3093https://access.redhat.com/errata/RHSA-2018:2927https://www.djangoproject.com/weblog/2017/apr/04/security-releases/http://www.debian.org/security/2017/dsa-3835http://www.securityfocus.com/bid/97406http://www.securitytracker.com/id/1038177https://access.redhat.com/errata/RHSA-2017:1445https://access.redhat.com/errata/RHSA-2017:1451https://access.redhat.com/errata/RHSA-2017:1462https://access.redhat.com/errata/RHSA-2017:1470https://access.redhat.com/errata/RHSA-2017:1596https://access.redhat.com/errata/RHSA-2017:3093https://access.redhat.com/errata/RHSA-2018:2927https://www.djangoproject.com/weblog/2017/apr/04/security-releases/
2017-04-04
Published