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.0: 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/E:U/U:Green
CVE-ID: CVE-2015-3982
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Django Software Foundation
Affected software:
Django

Detailed vulnerability description

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>


How to mitigate CVE-2015-3982

Install update from vendor's website.

Sources