#VU46660 Incorrect default permissions in Django


Published: 2020-09-11

Vulnerability identifier: #VU46660

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-24584

CWE-ID: CWE-276

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Django
Web applications / CMS

Vendor: Django Software Foundation

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the intermediate-level directories of the filesystem cache have the system's standard umask rather than 0o077. A remote attacker can view contents of files and directories.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Django: 2.2 - 2.2.15, 3.0 - 3.1


External links
http://docs.djangoproject.com/en/dev/releases/security/
http://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM
http://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU
http://usn.ubuntu.com/4479-1/
http://www.djangoproject.com/weblog/2020/sep/01/security-releases/
http://www.openwall.com/lists/oss-security/2020/09/01/2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability