Bug 1008047 - (CVE-2016-9014) VUL-1: CVE-2016-9014: python-django: DNS rebinding vulnerability when 'DEBUG=True'
(CVE-2016-9014)
VUL-1: CVE-2016-9014: python-django: DNS rebinding vulnerability when 'DEBUG=...
Status: NEW
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/174314/
CVSSv2:SUSE:CVE-2016-9014:4.0:(AV:N/A...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-02 09:48 UTC by Sebastian Krahmer
Modified: 2020-06-17 02:13 UTC (History)
4 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 Sebastian Krahmer 2016-11-02 09:48:20 UTC
Quoting RH BZ:

The following flaw was reported in Django:

Older versions of Django don't validate the 'Host' header against 'settings.ALLOWED_HOSTS' when 'settings.DEBUG=True'. This makes them vulnerable to a DNS rebinding attack:

http://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/

While Django doesn't ship a module that allows remote code execution, this is at least a cross-site scripting vector, which could be quite serious if developers load a copy of the production database in development or connect to some production services for which there's no development instance, for example. If a project uses a package like the 'django-debug-toolbar', then the attacker could execute arbitrary SQL, which could be especially bad if the developers connect to the database with a superuser account.

'settings.ALLOWED_HOSTS' is now validated regardless of 'DEBUG'. For convenience, if 'ALLOWED_HOSTS' is empty and 'DEBUG=True', the following variations of localhost are allowed '['localhost', '127.0.0.1', '::1']'. If your local settings file has your production 'ALLOWED_HOSTS' value, you must now omit it to get those fallback values.


rh#1389417


References:
https://bugzilla.redhat.com/show_bug.cgi?id=1389417
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-9014
http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-9014.html
Comment 1 Swamp Workflow Management 2016-11-02 23:00:12 UTC
bugbot adjusting priority
Comment 2 Marcus Meissner 2018-02-22 16:51:45 UTC
still unfixed
Comment 4 Swamp Workflow Management 2018-02-28 10:30:10 UTC
This is an autogenerated message for OBS integration:
This bug (1008047) was mentioned in
https://build.opensuse.org/request/show/580902 Backports:SLE-12 / python-Django
Comment 5 Swamp Workflow Management 2018-03-22 10:10:10 UTC
This is an autogenerated message for OBS integration:
This bug (1008047) was mentioned in
https://build.opensuse.org/request/show/589964 42.3 / python-Django
Comment 6 Swamp Workflow Management 2018-03-23 21:30:09 UTC
This is an autogenerated message for OBS integration:
This bug (1008047) was mentioned in
https://build.opensuse.org/request/show/590768 42.3 / python3-Django
Comment 7 Swamp Workflow Management 2018-03-27 10:08:16 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 8 Swamp Workflow Management 2018-03-27 10:10:44 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 9 Swamp Workflow Management 2018-04-18 10:12:16 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 10 Swamp Workflow Management 2018-04-27 19:09:39 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