Django request.user session hijacking
| django-request-session-hijacking (31628) |
Description:
Django could allow a remote attacker to hijack another user's session, caused by a vulnerability in the request.user parameter in AuthenticationMiddleware. An attacker could exploit this vulnerability to hijack a victim's session and gain the victim's privileges.
Platforms Affected:
- Django, Django 0.95
Remedy:
Refer to Debian Bug report logs - #407521 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Bypass Security
References:
- Debian Bug report logs - #407521, Security fix for Django auth system at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407521.
- Django Web site, django at http://www.djangoproject.com/.
- BID-22138: Django Authentication Bypass Weakness
- CVE-2007-0405: 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.
- SA23826: Django Two Vulnerabilities
Reported:
Jan 18, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
