Skip to content
OpenAdvisories
High · 7.5 CVE-2011-0696 EUVD-2011-0004GHSA-5j2h-h5hg-3wf8PYSEC-2011-10PYSEC-2011-30

Cross-site request forgery in Django

Published Feb 14, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

Django 1.1.x before 1.1.4 and 1.2.x before 1.2.5 does not properly validate HTTP requests that contain an X-Requested-With header, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via forged AJAX requests that leverage a "combination of browser plugins and redirects," a related issue to CVE-2011-0447.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.2.5-1 —
Debian 13 python-django 1.2.5-1 —
Debian 12 python-django 1.2.5-1 —
Debian 6.0 python-django 1.2.3-3+squeeze1 DSA-2163-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.1, < 1.1.4 1.1.4 GHSA-5j2h-h5hg-3wf8
PyPI django >= 1.2, < 1.2.5 1.2.5 GHSA-5j2h-h5hg-3wf8
PyPI django >= 1.1, < 1.1.4 · >= 1.2, < 1.2.5 1.1.4, 1.2.5 PYSEC-2011-10

Advisories 1

References