GHSA-625g-gx8c-xcmg CVE-2014-0482 PYSEC-2014-6
Django Middleware Enables Session Hijacking
- Severity
- 0.0 / 10
- Medium · CVSS 4.0
- Exploit chance (EPSS)
- 1.96%
- Chance of exploitation in the next 30 days. Higher than 80.32% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-287 Improper Authentication
- Fix
1.4.14- Upgrade django to this version or later
Description
The contrib.auth.middleware.RemoteUserMiddleware middleware in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3, when using the contrib.auth.backends.RemoteUserBackend backend, allows remote authenticated users to hijack web sessions via vectors related to the REMOTE_USER header.
Affected versions
PyPI
| Package | Vulnerable | Fixed in |
|---|---|---|
| django | < 1.4.14 |
1.4.14 |
| django | >= 1.5, < 1.5.9 |
1.5.9 |
| django | >= 1.6, < 1.6.6 |
1.6.6 |
| django | >= 1.7a1, < 1.7c3 |
1.7c3 |
| django | < 1.4.14>= 1.5, < 1.5.9>= 1.6, < 1.6.6 |
1.4.141.5.91.6.6 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
django PyPI → 1.4.14
- pip
pip install --upgrade "django>=1.4.14"- poetry
poetry add "django>=1.4.14"- uv
uv add "django>=1.4.14"
Severity breakdown
CVSS 4.0 0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality (vulnerable system)
- None
- Integrity (vulnerable system)
- Low
- Availability (vulnerable system)
- None
- Confidentiality (subsequent systems)
- None
- Integrity (subsequent systems)
- None
- Availability (subsequent systems)
- None
CVSS 3.1 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Weakness
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How to prevent it
- Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
References
Advisories
Write-ups
Packages
Other links
- github.com/django/django/commit/0268b855f9eab3377f2821164ef3e66037789e09
- github.com/django/django/commit/5307ce565fbedb9cc27cbe7c757b41a00438d37c
- github.com/django/django/commit/c9e3b9949cd55f090591fbdc4a114fcb8368b6d9
- github.com/django/django/commit/dd68f319b365f6cb38c5a6c106faf4f6142d7d88
- github.com/django/django/blob/aa3cb3f37265be37d892e2b391ff023e9caee2a4/docs/rel…
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-6.yaml
- djangoproject.com/weblog/2014/aug/20/security
- lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- debian.org/security/2014/dsa-3010
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-q238-5cxm-5c9h Django GeoDjango vulnerable to denial of service through deeply nested geometry collections | Medium | Also affects django |
| GHSA-wvqv-fj8w-qmhm Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing | High | Also affects django |
| GHSA-8qcx-xf44-272x Django: DomainNameValidator permits newline characters that may enable HTTP header injection | Medium | Also affects django |
| GHSA-crhf-3pfg-w68w Django: GDALRaster may over-read heap memory when constructed from bytes | Medium | Also affects django |
| GHSA-3h9f-r86x-qvjx Django: cache middleware may expose private responses when unrelated request cookies are present | Medium | Also affects django |
| GHSA-8cjm-8mp7-r2xf Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling | Medium | Also affects django |
| GHSA-mm6v-q8q9-pgcf Django fails to prevent reuse of a partially-initialized connection after a failed `STARTTLS` handshake | Low | Also affects django |
| GHSA-h7pc-vwp9-298g Django: signed cookies are vulnerable to salt namespace collisions | Medium | Also affects django |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor