LWN.net Logo

python-django: multiple vulnerabilities

Package(s):python-django CVE #(s):CVE-2011-4136 CVE-2011-4137 CVE-2011-4138 CVE-2011-4139 CVE-2011-4140
Created:October 31, 2011 Updated:May 29, 2012
Description: From the Debian advisory:

Paul McMillan, Mozilla and the Django core team discovered several vulnerabilities in Django, a Python web framework:

CVE-2011-4136: When using memory-based sessions and caching, Django sessions are stored directly in the root namespace of the cache. When user data is stored in the same cache, a remote user may take over a session.

CVE-2011-4137, CVE-2011-4138: Django's field type URLfield by default checks supplied URL's by issuing a request to it, which doesn't time out. A Denial of Service is possible by supplying specially prepared URL's that keep the connection open indefinitely or fill the Django's server memory.

CVE-2011-4139: Django used X-Forwarded-Host headers to construct full URL's. This header may not contain trusted input and could be used to poison the cache.

CVE-2011-4140: The CSRF protection mechanism in Django does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests.

Alerts:
Ubuntu USN-1297-1 2011-12-09
Debian DSA-2332-1 2011-10-29
openSUSE openSUSE-SU-2012:0653-1 2012-05-29

(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds