Bug 1437236 (CVE-2017-7234) - CVE-2017-7234 python-django: Open redirect vulnerability in django.views.static.serve()
Summary: CVE-2017-7234 python-django: Open redirect vulnerability in django.views.stat...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-7234
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1437237
TreeView+ depends on / blocked
 
Reported: 2017-03-29 20:40 UTC by Adam Mariš
Modified: 2019-09-29 14:08 UTC (History)
26 users (show)

Fixed In Version: python-django 1.8.18, python-django 1.9.13, python-django 1.10.7, python-django 1.11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:09:42 UTC


Attachments (Terms of Use)
Upstream patch 1.8.x (2.88 KB, patch)
2017-03-29 20:48 UTC, Adam Mariš
no flags Details | Diff
Upstream patch 1.9.x (3.73 KB, patch)
2017-03-29 20:48 UTC, Adam Mariš
no flags Details | Diff
Upstream patch 1.10.x (5.03 KB, patch)
2017-03-29 20:49 UTC, Adam Mariš
no flags Details | Diff
Upstream patch 1.11.x (5.03 KB, patch)
2017-03-29 20:49 UTC, Adam Mariš
no flags Details | Diff
Upstream patch master (4.95 KB, patch)
2017-03-29 20:49 UTC, Adam Mariš
no flags Details | Diff

Description Adam Mariš 2017-03-29 20:40:40 UTC
A maliciously crafted URL to a Django site using the serve() view could redirect to any other domain. The view no longer does any redirects as they don't provide any known, useful functionality.

Note, however, that this view has always carried a warning that it is not hardened for production use and should be used only as a development aid.

Affected versions:
* Django master development branch
* Django 1.11 (currently at release candidate status)
* Django 1.10
* Django 1.9
* Django 1.8

Comment 1 Adam Mariš 2017-03-29 20:40:58 UTC
Acknowledgments:

Name: the Django project

Comment 2 Adam Mariš 2017-03-29 20:48:25 UTC
Created attachment 1267358 [details]
Upstream patch 1.8.x

Comment 3 Adam Mariš 2017-03-29 20:48:47 UTC
Created attachment 1267359 [details]
Upstream patch 1.9.x

Comment 4 Adam Mariš 2017-03-29 20:49:10 UTC
Created attachment 1267360 [details]
Upstream patch 1.10.x

Comment 5 Adam Mariš 2017-03-29 20:49:32 UTC
Created attachment 1267361 [details]
Upstream patch 1.11.x

Comment 6 Adam Mariš 2017-03-29 20:49:54 UTC
Created attachment 1267362 [details]
Upstream patch master

Comment 9 Andrej Nemec 2017-04-05 12:51:31 UTC
Public via:

https://www.djangoproject.com/weblog/2017/apr/04/security-releases/


Note You need to log in before you can comment on or make changes to this bug.