Multiple vulnerabilities in Django



Published: 2020-09-10 | Updated: 2020-09-11
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-24583
CVE-2020-24584
CWE-ID CWE-276
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Django
Web applications / CMS

Vendor Django Software Foundation

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Incorrect default permissions

EUVDB-ID: #VU46659

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2020-24583

CWE-ID: CWE-276 - Incorrect Default Permissions

Exploit availability: No

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


CPE2.3 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?

Is there known malware, which exploits this vulnerability?

2) Incorrect default permissions

EUVDB-ID: #VU46660

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2020-24584

CWE-ID: CWE-276 - Incorrect Default Permissions

Exploit availability: No

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


CPE2.3 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?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###