Information disclosure in Django - CVE-2015-8213

 

Information disclosure in Django - CVE-2015-8213

Published: December 7, 2015 / Updated: July 28, 2020


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

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

The get_format function in utils/formats.py in Django before 1.7.x before 1.7.11, 1.8.x before 1.8.7, and 1.9.x before 1.9rc2 might allow remote attackers to obtain sensitive application secrets via a settings key in place of a date/time format setting, as demonstrated by SECRET_KEY.


Affected software

Django
py-django (Alpine package)
py-django1.5 (Alpine package)
python-django
Fedora

How to mitigate CVE-2015-8213

Install update from vendor's website.

Django - update to 1.9
py-django (Alpine package) - update to 1.5.10-r1
py-django1.5 (Alpine package) - addressed in versions 1.5.10-r1, 1.5.12-r1
python-django - addressed in versions 1.6.11-4.el7, 1.8.7-1.fc23

External References

Related Security Bulletins