CVE-2016-9013: 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…
Noroxi assessment
Priority: Plan (action score 41/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 5.1% (FIRST EPSS); higher than 92.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: py-django (Alpine:v3.10) 1.8.16-r0; py3-django (Alpine:v3.11) 1.8.16-r0; python-django (Debian:12) 1:1.10.3-1.
Add it to your regular patch cycle. Upgrade to py-django (Alpine:v3.10) 1.8.16-r0; py3-django (Alpine:v3.11) 1.8.16-r0; python-django (Debian:12) 1:1.10.3-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Dec 9, 2016
- Updated
- Jun 16, 2026
- EPSS
- 5.1% · 92th percentile
- CWE
- CWE-798
Report tools
Action score
41
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| djangoproject | django | cpe:2.3:a:djangoproject:django |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux16.10
- djangoproject django1.10
- djangoproject django1.10.1
- djangoproject django1.10.2
- djangoproject django1.8
+12 more rows
- djangoproject django1.8.1
- djangoproject django1.8.10
- djangoproject django1.8.11
- djangoproject django1.8.12
- djangoproject django1.8.13
- djangoproject django1.8.14
- djangoproject django1.8.15
- djangoproject django1.8.2
- djangoproject django1.8.3
- djangoproject django1.8.4
- djangoproject django1.8.5
- djangoproject django1.8.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | py-django | before 1.8.16-r0 | 1.8.16-r0 |
| Alpine:v3.11 | py3-django | before 1.8.16-r0 | 1.8.16-r0 |
| Debian:12 | python-django | before 1:1.10.3-1 | 1:1.10.3-1 |
| Debian:8 | python-django | before 1.7.11-1+deb8u2 | 1.7.11-1+deb8u2 |
| PyPI | django | from 1.10 · before 1.10.3 | 1.10.3 |
| PyPI | django | from 1.10a1 · before 1.10.3 | 1.10.3 |
| PyPI | django | from 1.8 · before 1.8.16 | 1.8.16 |
| PyPI | django | from 1.8a1 · before 1.8.16 | 1.8.16 |
| PyPI | django | from 1.9 · before 1.9.11 | 1.9.11 |
| PyPI | django | from 1.9a1 · before 1.9.11 | 1.9.11 |
| SUSE:OpenStack Cloud 6 | python-Django | before 1.8.19-3.6.1 | 1.8.19-3.6.1 |
| SUSE:OpenStack Cloud 7 | python-Django | before 1.8.19-3.4.1 | 1.8.19-3.4.1 |
Same product
djangoproject: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-34265An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6.61This week
- CVE-2020-7471Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter…59Plan
- CVE-2019-19844Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover.55Plan
Published before and after this one in the same product
- ← EarlierCVE-2016-2512Apr 8, 2016 · The utils.http.is_safe_url function in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to redirect users to arbitrary…30Monitor
- ← EarlierCVE-2016-2513Apr 8, 2016 · The password hasher in contrib/auth/hashers.py in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to enumerate users…13Monitor
- Later →CVE-2017-7233Apr 4, 2017 · Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on…25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:py-django | 1.8.16-r0 · Alpine:v3.10 | Package registry (OSV) |
| alpine:py3-django | 1.8.16-r0 · Alpine:v3.11 | Package registry (OSV) |
| debian:python-django | 1:1.10.3-1 · Debian:12 | Package registry (OSV) |
| PyPI:django | 1.10.3 | Package registry (OSV) |
| PyPI:django | 1.8.16 | Package registry (OSV) |
| PyPI:django | 1.9.11 | Package registry (OSV) |
| suse:python-Django | 1.8.19-3.4.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-798 · Use of Hard-coded CredentialsCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
For convenience in support or manufacturing, an account that is identical on every device is embedded in the software. Credentials learned from one device work on all of them.
The bug in code
The whole CWE-798 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const SUPPORT_USER = "support";
const SUPPORT_PASS = "hardcoded-password";Fixed
const creds = await provisioning.deviceCredentials(deviceId);
if (creds.mustRotate) await forcePasswordChange(deviceId);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- www.securityfocus.com/bid/94069
- www.securitytracker.com/id/1037159
- www.ubuntu.com/usn/USN-3115-1
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OG5ROMUPS6C7BXELD3TAUUH7OBYV56WQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QXDKJYHN74BWY3P7AR2UZDVJREQMRE6S/
- www.djangoproject.com/weblog/2016/nov/01/security-releases/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.