Input validation error in Django - CVE-2015-3982

 

Input validation error in Django - CVE-2015-3982

Published: June 2, 2015 / Updated: August 9, 2020


Vulnerability identifier: #VU40729
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-3982
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

The session.flush function in the cached_db backend in Django 1.8.x before 1.8.2 does not properly flush the session, which allows remote attackers to hijack user sessions via an empty string in the session key. <a href="http://cwe.mitre.org/data/definitions/384.html">CWE-384: Session Fixation</a>


Affected software

Django
Fedora
python-django

How to mitigate CVE-2015-3982

Install update from vendor's website.

python-django - update to 1.8.2-1.fc22

External References

Related Security Bulletins