Name | CVE-2007-5828 |
Description | Cross-site request forgery (CSRF) vulnerability in the admin panel in Django 0.96 allows remote attackers to change passwords of arbitrary users via a request to admin/auth/user/1/password/. NOTE: this issue has been disputed by Debian, since product documentation includes a recommendation for a CSRF protection module that is included with the product. However, CVE considers this an issue because the default configuration does not use this module |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-django (PTS) | jessie, jessie (lts) | 1.7.11-1+deb8u17 | fixed |
| stretch (security) | 1:1.10.7-2+deb9u17 | fixed |
| stretch (lts), stretch | 1:1.10.7-2+deb9u23 | fixed |
| buster, buster (lts) | 1:1.11.29-1+deb10u12 | fixed |
| buster (security) | 1:1.11.29-1+deb10u11 | fixed |
| bullseye (security), bullseye | 2:2.2.28-1~deb11u2 | fixed |
| bookworm (security), bookworm | 3:3.2.19-1+deb12u1 | fixed |
| trixie | 3:4.2.16-1 | fixed |
| sid | 3:4.2.17-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
python-django | source | (unstable) | 1.2.1 | unimportant | | |
Notes
this is documented in docs/csrf.txt included in the python-django package and
there is a plugin enabling this feature. This is intended behaviour pre-1.2.
https://docs.djangoproject.com/en/1.10/ref/csrf/#using-csrf