Advisory

GHSA-625g-gx8c-xcmg

Also known as: CVE-2014-0482, PYSEC-2014-6

Summary

Django Middleware Enables Session Hijacking

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:09 UTC
Modified
2025-02-19 05:40 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.14 (ecosystem)

Fixed versions

1.4.14

Fix

  • Fixed version 1.4.14
    pip install --upgrade django==1.4.14

django

PyPI · All systems

Affected

  • introduced 1.5, fixed 1.5.9 (ecosystem)

Fixed versions

1.5.9

Fix

  • Fixed version 1.5.9
    pip install --upgrade django==1.5.9

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.6 (ecosystem)

Fixed versions

1.6.6

Fix

  • Fixed version 1.6.6
    pip install --upgrade django==1.6.6

django

PyPI · All systems

Affected

  • introduced 1.7a1, fixed 1.7c3 (ecosystem)

Fixed versions

1.7c3

Fix

  • Fixed version 1.7c3
    pip install --upgrade django==1.7c3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences