GitHub Advisory Database
GHSA-mv8g-fhh6-6267
Django user with hardcoded password created when running tests on Oracle
Details
Django 1.8.x before 1.8.16, 1.9.x before 1.9.11, and 1.10.x before 1.10.3 use a hardcoded password for a temporary database user created when running tests with an Oracle database, which makes it easier for remote attackers to obtain access to the database server by leveraging failure to manually specify a password in the database settings TEST dictionary.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | django | From 1.10a1 before 1.10.3 (fixed in 1.10.3) |
| PyPI | django | From 1.9a1 before 1.9.11 (fixed in 1.9.11) |
| PyPI | django | From 1.8a1 before 1.8.16 (fixed in 1.8.16) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-9013
- https://github.com/django/django/commit/34e10720d81b8d407aa14d763b6a7fe8f13b4f2e
- https://github.com/django/django/commit/4844d86c7728c1a5a3bbce4ad336a8d32304072b
- https://github.com/django/django/commit/70f99952965a430daf69eeb9947079aae535d2d0
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-17.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OG5ROMUPS6C7BXELD3TAUUH7OBYV56WQ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QXDKJYHN74BWY3P7AR2UZDVJREQMRE6S
- https://www.djangoproject.com/weblog/2016/nov/01/security-releases
- http://www.debian.org/security/2017/dsa-3835
- http://www.ubuntu.com/usn/USN-3115-1