Vulnerability identifier: #VU46659
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:
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 incorrect default permissions for files and folders that are set by the application when "FILE_UPLOAD_DIRECTORY_PERMISSIONS" mode was not applied to intermediate-level directories created in the process of uploading files. 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
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.