Insecure cookie handling in Django - CVE-2016-7401
Published: September 30, 2016 / Updated: October 5, 2016
Vulnerability details
The vulnerability allows a remote attacker to bypass certain security restrictions.
The vulnerability exists due to interraction error between Django's cookie parsing code and Google Analytics. A remote attacker can set arbitrary cookies and bypass CSRF protection, implemented by web application.
Successful exploitation of this vulnerability may allow an attacker to bypass various website security mechanisms, based on cookies.
Affected software
Arch Linux
Fedora
Ubuntu
Tornado
Red Hat OpenStack
python-django (Red Hat package)
python-django
How to mitigate CVE-2016-7401
https://www.djangoproject.com/m/releases/1.8/Django-1.8.15.tar.gz
Update to 1.9.10.
https://www.djangoproject.com/m/releases/1.9/Django-1.9.10.tar.gz
python-django (Red Hat package) - addressed in versions 1.6.11-6.el6ost, 1.6.11-6.el7ost, 1.8.15-1.el7ost
python-django - addressed in versions 1.6.11.6-1.el7, 1.8.15-1.fc23, 1.9.10-1.fc24, 1.9.10-1.fc25
External References
Related Security Bulletins
- Security restrictions bypass in Tornado web server
- CSRF attack when handling Google Analytics cookies in Django
- Ubuntu update for Django
- Arch Linux update for python-django
- Arch Linux update for python2-django
- Fedora 25 update for python-django
- Fedora 24 update for python-django
- Fedora 23 update for python-django
- Fedora EPEL 7 update for python-django
- Insecure cookie handling in Red Hat OpenStack 9.0 packages
- Insecure cookie handling in Red Hat OpenStack 8.0 packages
- Red Hat Enterprise Linux OpenStack Platform 7 update for python-django
- Red Hat Enterprise Linux OpenStack Platform 6 update for python-django
- Red Hat Enterprise Linux OpenStack Platform 5 update for python-django
- Red Hat Enterprise Linux OpenStack Platform 5 update for python-django