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
Debian Linux
Fedora
Ubuntu
py-django (Alpine package)
py-django1.5 (Alpine package)
python-django (Debian package)
python-django (Ubuntu package)
python3-django (Ubuntu package)
python-django

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 (Debian package) - addressed in versions 1.2.3-3+squeeze15, 1.4.5-1+deb7u14, 1.7.7-1+deb8u3
python-django (Ubuntu package) - addressed in versions 1.3.1-4ubuntu1.19, 1.6.1-2ubuntu0.11, 1.7.6-1ubuntu2.3, 1.7.9-1ubuntu5.1
python3-django (Ubuntu package) - addressed in versions 1.7.6-1ubuntu2.3, 1.7.9-1ubuntu5.1
python-django - addressed in versions 1.6.11-4.el7, 1.8.7-1.fc23

External References

Related Security Bulletins