Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1389414 - (CVE-2016-9013) CVE-2016-9013 python-django: user with hardcoded password created when running tests on Oracle
CVE-2016-9013 python-django: user with hardcoded password created when runnin...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20161101,repor...
: Security
Depends On: 1390684 1390685 1390687
Blocks: 1389419
  Show dependency treegraph
 
Reported: 2016-10-27 10:26 EDT by Martin Prpič
Modified: 2018-06-29 18:15 EDT (History)
21 users (show)

See Also:
Fixed In Version: Django 1.10.3, Django 1.9.11, Django 1.8.16
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
oracle-1.10.x.diff (6.36 KB, text/plain)
2016-10-27 10:35 EDT, Martin Prpič
no flags Details
oracle-1.8.x.diff (4.28 KB, text/plain)
2016-10-27 10:35 EDT, Martin Prpič
no flags Details
oracle-1.9.x.diff (5.37 KB, text/plain)
2016-10-27 10:35 EDT, Martin Prpič
no flags Details
oracle-master.diff (6.36 KB, text/plain)
2016-10-27 10:35 EDT, Martin Prpič
no flags Details

  None (edit)
Description Martin Prpič 2016-10-27 10:26:24 EDT
The following flaw was reported in Django:

When running tests with an Oracle database, Django creates a temporary database user. In older versions, if a password isn't manually specified in the database settings 'TEST' dictionary, a hardcoded password is used. This could allow an attacker with network access to the database server to connect.

This user is usually dropped after the test suite completes, but not when using the 'manage.py test --keepdb' option or if the user has an active session (such as an attacker's connection).

A randomly generated password is now used for each test run.
Comment 1 Martin Prpič 2016-10-27 10:26:42 EDT
Acknowledgments:

Name: the Django project
Comment 2 Martin Prpič 2016-10-27 10:35:28 EDT
Created attachment 1214631 [details]
oracle-1.10.x.diff
Comment 3 Martin Prpič 2016-10-27 10:35:35 EDT
Created attachment 1214632 [details]
oracle-1.8.x.diff
Comment 4 Martin Prpič 2016-10-27 10:35:42 EDT
Created attachment 1214633 [details]
oracle-1.9.x.diff
Comment 5 Martin Prpič 2016-10-27 10:35:51 EDT
Created attachment 1214634 [details]
oracle-master.diff
Comment 6 Andrej Nemec 2016-11-01 12:32:22 EDT
Public via:

https://www.djangoproject.com/weblog/2016/nov/01/security-releases/
Comment 7 Andrej Nemec 2016-11-01 12:35:57 EDT
Created Django14 tracking bugs for this issue:

Affects: epel-6 [bug 1390685]
Comment 8 Andrej Nemec 2016-11-01 12:36:10 EDT
Created python-django tracking bugs for this issue:

Affects: fedora-all [bug 1390684]
Comment 9 Andrej Nemec 2016-11-01 12:37:29 EDT
Created python-django tracking bugs for this issue:

Affects: epel-7 [bug 1390687]

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