Privilege escalation in Django



Published: 2019-12-08
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-19118
CWE-ID CWE-269
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Django
Web applications / CMS

Vendor Django Software Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Privilege Management

EUVDB-ID: #VU23453

Risk: Medium

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

CVE-ID: CVE-2019-19118

CWE-ID: CWE-269 - Improper Privilege Management

Exploit availability: No

Description

The vulnerability allows a remote user to escalate privileges within the application.

The vulnerability exists due to incorrect privilege management when processing the save() method in "/django/contrib/admin/options.py". A remote authenticated user can assign elevated privileges to his or her account by manipulating form elements.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Django: 2.1.0 - 2.2.7

External links

http://www.openwall.com/lists/oss-security/2019/12/02/1
http://docs.djangoproject.com/en/dev/releases/security/
http://groups.google.com/forum/#!topic/django-announce/GjGqDvtNmWQ
http://www.djangoproject.com/weblog/2019/dec/02/security-releases/
http://github.com/django/django/commit/11c5e0609bcc0db93809de2a08e0dc3d70b393e4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###