MitM attack in Django

Published: 2019-07-02
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-12781
Exploitation vector Local network
Public exploit N/A
Vulnerable software
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


CVE-ID: CVE-2019-12781

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

Exploit availability: No


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.


Install updates from vendor's website.

Vulnerable software versions

Django: 1.11.1 - 1.11.21, 2.1.0 - 2.2.2

CPE2.3 External links!topic/django-announce/Is4kLY9ZcZQ

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?