Bug 1031450 - (CVE-2017-7233) VUL-1: CVE-2017-7233: python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
(CVE-2017-7233)
VUL-1: CVE-2017-7233: python-django: Open redirect and possible XSS attack vi...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/182406/
CVSSv2:SUSE:CVE-2017-7233:4.0:(AV:N/A...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-29 08:16 UTC by Andreas Stieger
Modified: 2019-07-10 06:38 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Stieger 2017-03-29 08:16:02 UTC
EMBARGOED via pre-notification.
CRD: 2017-04-04 14:00 UTC

CVE-2017-7233: 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
Comment 6 Andreas Stieger 2017-04-05 07:51:41 UTC
Public at https://www.djangoproject.com/weblog/2017/apr/04/security-releases/
Comment 7 Swamp Workflow Management 2018-03-22 10:10:18 UTC
This is an autogenerated message for OBS integration:
This bug (1031450) was mentioned in
https://build.opensuse.org/request/show/589964 42.3 / python-Django
Comment 8 Swamp Workflow Management 2018-03-23 21:30:16 UTC
This is an autogenerated message for OBS integration:
This bug (1031450) was mentioned in
https://build.opensuse.org/request/show/590768 42.3 / python3-Django
Comment 9 Swamp Workflow Management 2018-03-27 10:08:34 UTC
openSUSE-SU-2018:0824-1: An update that fixes 12 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1001374,1008047,1008050,1031450,1031451,1056284,1083304,1083305,967999,968000
CVE References: CVE-2016-2048,CVE-2016-2512,CVE-2016-2513,CVE-2016-6186,CVE-2016-7401,CVE-2016-9013,CVE-2016-9014,CVE-2017-12794,CVE-2017-7233,CVE-2017-7234,CVE-2018-7536,CVE-2018-7537
Sources used:
openSUSE Leap 42.3 (src):    python3-Django-1.8.19-5.3.1
Comment 10 Swamp Workflow Management 2018-03-27 10:11:01 UTC
openSUSE-SU-2018:0826-1: An update that fixes 12 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1001374,1008047,1008050,1031450,1031451,1056284,1083304,1083305,967999,968000
CVE References: CVE-2016-2048,CVE-2016-2512,CVE-2016-2513,CVE-2016-6186,CVE-2016-7401,CVE-2016-9013,CVE-2016-9014,CVE-2017-12794,CVE-2017-7233,CVE-2017-7234,CVE-2018-7536,CVE-2018-7537
Sources used:
openSUSE Leap 42.3 (src):    python-Django-1.8.19-6.4.1
Comment 11 Swamp Workflow Management 2018-04-18 10:12:37 UTC
SUSE-SU-2018:0973-1: An update that fixes 8 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1001374,1008047,1008050,1031450,1031451,1056284,1083304,1083305
CVE References: CVE-2016-7401,CVE-2016-9013,CVE-2016-9014,CVE-2017-12794,CVE-2017-7233,CVE-2017-7234,CVE-2018-7536,CVE-2018-7537
Sources used:
SUSE OpenStack Cloud 7 (src):    python-Django-1.8.19-3.4.1
Comment 12 Swamp Workflow Management 2018-04-27 19:09:56 UTC
SUSE-SU-2018:1102-1: An update that fixes 9 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1001374,1008047,1008050,1031450,1031451,1056284,1083304,1083305,967999
CVE References: CVE-2016-2512,CVE-2016-7401,CVE-2016-9013,CVE-2016-9014,CVE-2017-12794,CVE-2017-7233,CVE-2017-7234,CVE-2018-7536,CVE-2018-7537
Sources used:
SUSE OpenStack Cloud 6 (src):    python-Django-1.8.19-3.6.1
Comment 13 Marcus Meissner 2019-07-10 05:48:09 UTC
released