pysec-2017-9
Vulnerability from pysec
Published
2017-04-04 17:59
Modified
2021-07-05 00:01
Details
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.
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "django", "purl": "pkg:pypi/django" }, "ranges": [ { "events": [ { "introduced": "1.10" }, { "fixed": "1.10.7" }, { "introduced": "1.9" }, { "fixed": "1.9.13" }, { "introduced": "1.8" }, { "fixed": "1.8.18" } ], "type": "ECOSYSTEM" } ], "versions": [ "1.10", "1.10.1", "1.10.2", "1.10.3", "1.10.4", "1.10.5", "1.10.6", "1.8", "1.8.1", "1.8.10", "1.8.11", "1.8.12", "1.8.13", "1.8.14", "1.8.15", "1.8.16", "1.8.17", "1.8.2", "1.8.3", "1.8.4", "1.8.5", "1.8.6", "1.8.7", "1.8.8", "1.8.9", "1.9", "1.9.1", "1.9.10", "1.9.11", "1.9.12", "1.9.2", "1.9.3", "1.9.4", "1.9.5", "1.9.6", "1.9.7", "1.9.8", "1.9.9" ] } ], "aliases": [ "CVE-2017-7233", "GHSA-37hp-765x-j95x" ], "details": "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\u0027t 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.", "id": "PYSEC-2017-9", "modified": "2021-07-05T00:01:20.658989Z", "published": "2017-04-04T17:59:00Z", "references": [ { "type": "ARTICLE", "url": "https://www.djangoproject.com/weblog/2017/apr/04/security-releases/" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/97406" }, { "type": "WEB", "url": "http://www.securitytracker.com/id/1038177" }, { "type": "ADVISORY", "url": "http://www.debian.org/security/2017/dsa-3835" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2017:3093" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2017:1596" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2017:1470" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2017:1462" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2017:1451" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2017:1445" }, { "type": "ADVISORY", "url": "https://access.redhat.com/errata/RHSA-2018:2927" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-37hp-765x-j95x" } ] }
Loading...
Loading...
- 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.