CVE-2007-0405: Django - Authentication Bypass
- Cve: CVE-2007-0405
- Name: Django - Authentication Bypass
- Description: The LazyUser class in the AuthenticationMiddleware for Django 0.95 does not properly cache the user name across requests, which allows remote authenticated users to gain the privileges of a different user.
- Impact: Authenticated users can impersonate other users, potentially gaining unauthorized privileges.
- Remediation: Update to the latest version of Django where this issue is fixed.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to be a logged-in user
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
- Epss score: 0.01308
- Epss percentile: 0.71341
- Assignee: [email protected]
- Published at: 2007-01-23T00:28:00Z
- Age in days: 7245
- Modified at: 2026-06-16T22:35:30Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-0405
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| django_project:django | = 0.95 | no | nvd | /v1/products/django_project/django |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| django/django | commit, fix, package | yes | /v1/repositories/django/django |
Index
- Repositories: 76
- Repositories high signal: 35
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts