MitM attack in Django



Published: 2019-07-02
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-12781
CWE-ID CWE-319
Exploitation vector Local 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) Cleartext transmission of sensitive information

EUVDB-ID: #VU18967

Risk: Medium

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

CVE-ID: CVE-2019-12781

CWE-ID: CWE-319 - Cleartext Transmission of Sensitive Information

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to django.http.HttpRequest.scheme, when deployed behind a reverse-proxy, does not correctly treat requests sent over HTTP protocol, assuming that a secure protocol is used for communication. A remote attacker with ability to force victim to use HTTP instead of HTTPS protocol can perform man-in-the-middle (MitM) attack and intercept communication in cleat text.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Django: 1.11.1 - 2.2.2

External links

http://www.openwall.com/lists/oss-security/2019/07/01/3
http://docs.djangoproject.com/en/dev/releases/security/
http://groups.google.com/forum/#!topic/django-announce/Is4kLY9ZcZQ
http://www.djangoproject.com/weblog/2019/jul/01/security-releases/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###