Multiple vulnerabilities in Django



| 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
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

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

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 - 3.1

CPE2.3 External links

https://docs.djangoproject.com/en/dev/releases/security/
https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM
https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU
https://usn.ubuntu.com/4479-1/
https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
https://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.

2) Incorrect default permissions

EUVDB-ID: #VU46660

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

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 - 3.1

CPE2.3 External links

https://docs.djangoproject.com/en/dev/releases/security/
https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM
https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU
https://usn.ubuntu.com/4479-1/
https://www.djangoproject.com/weblog/2020/sep/01/security-releases/
https://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.



###SIDEBAR###