cve.bz

CVE-2016-9013 Use of Hard-coded Credentials

9.8 criticalEPSS 5.1%Fix available

Critical (9.8). EPSS 5.1% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.10.3, 1.8.16, 1.9.11.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.1% (unchanged from 5.1% a week ago; 5.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-798 Use of Hard-coded Credentials
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9013 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9013?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9013?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9013 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:django1.10
djangoproject:django1.10.1
djangoproject:django1.10.2
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux16.10
djangoproject:django1.9
djangoproject:django1.9.1
djangoproject:django1.9.2
djangoproject:django1.9.3
djangoproject:django1.9.4
djangoproject:django1.9.5
djangoproject:django1.9.6
djangoproject:django1.9.7
djangoproject:django1.9.8
djangoproject:django1.9.9
djangoproject:django1.9.10
djangoproject:django1.8
djangoproject:django1.8.1
djangoproject:django1.8.2
djangoproject:django1.8.3
djangoproject:django1.8.4
djangoproject:django1.8.5
djangoproject:django1.8.6
djangoproject:django1.8.7
djangoproject:django1.8.8
djangoproject:django1.8.9
djangoproject:django1.8.10
djangoproject:django1.8.11
djangoproject:django1.8.12
djangoproject:django1.8.13
djangoproject:django1.8.14
djangoproject:django1.8.15
fedoraproject:fedora24
fedoraproject:fedora25

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mv8g-fhh6-6267PyPIdjango>=1.10a1 <1.10.31.10.3
GHSA-mv8g-fhh6-6267PyPIdjango>=1.9a1 <1.9.111.9.11
GHSA-mv8g-fhh6-6267PyPIdjango>=1.8a1 <1.8.161.8.16
PYSEC-2016-17PyPIdjango>=1.8 <1.8.16
>=1.9 <1.9.11
>=1.10 <1.10.3
1.8.16, 1.9.11, 1.10.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8python-django1.7.11-1+deb8u2DSA-3835-1
Debian12, 13, 14python-django1:1.10.3-1DEBIAN-CVE-2016-9013
Ubuntu14.04:LTSpython-django1.6.1-2ubuntu0.16UBUNTU-CVE-2016-9013 USN-3115-1
Ubuntu16.04:LTSpython-django1.8.7-1ubuntu5.4UBUNTU-CVE-2016-9013 USN-3115-1
SUSEOpenStack Cloud 6python-Django1.8.19-3.6.1SUSE-SU-2018:1102-1
SUSEOpenStack Cloud 7python-Django1.8.19-3.4.1SUSE-SU-2018:0973-1
Alpinev3.2, v3.3, v3.4 and 6 morepy-django1.8.16-r0ALPINE-CVE-2016-9013
Alpinev3.11, v3.12, v3.13 and 11 morepy3-django1.8.16-r0ALPINE-CVE-2016-9013

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 1.3DjangoNot affected
Red Hat Ceph Storage 2python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Toolspython-djangoNot affected
Red Hat OpenStack Platform 10 (Newton)python-djangoNot affected
Red Hat OpenStack Platform 10 (Newton) Operational Toolspython-djangoNot affected
Red Hat OpenStack Platform 8 (Liberty)python-djangoNot affected
Red Hat OpenStack Platform 8 (Liberty) Operational Toolspython-djangoNot affected
Red Hat OpenStack Platform 9 (Mitaka)python-djangoNot affected
Red Hat OpenStack Platform 9 (Mitaka) Operational Toolspython-djangoNot affected
Red Hat Storage Console 2DjangoNot affected
Red Hat Storage Console 2python-djangoNot affected
Red Hat Subscription Asset ManagerDjangoWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-9013.

Attack patterns (CAPEC)

  • CAPEC-70 Try Common or Default Usernames and Passwords Likelihood: Medium · Severity: High
  • CAPEC-191 Read Sensitive Constants Within an Executable Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON