Django 'HttpRequest.get_host()' Information Disclosure Vulnerability

BID:56146

Info

Django 'HttpRequest.get_host()' Information Disclosure Vulnerability

Bugtraq ID: 56146
Class: Design Error
CVE: CVE-2012-4520
Remote: Yes
Local: No
Published: Oct 19 2012 12:00AM
Updated: Apr 16 2015 05:51PM
Credit: James Kettle
Vulnerable: Ubuntu Ubuntu Linux 12.04 LTS i386
Ubuntu Ubuntu Linux 12.04 LTS amd64
Ubuntu Ubuntu Linux 11.10 i386
Ubuntu Ubuntu Linux 11.10 amd64
Ubuntu Ubuntu Linux 10.04 sparc
Ubuntu Ubuntu Linux 10.04 powerpc
Ubuntu Ubuntu Linux 10.04 i386
Ubuntu Ubuntu Linux 10.04 ARM
Ubuntu Ubuntu Linux 10.04 amd64
Mandriva Linux Mandrake 2011 x86_64
Mandriva Linux Mandrake 2011
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
Django Django 1.3.1
Debian Linux 6.0 sparc
Debian Linux 6.0 s/390
Debian Linux 6.0 powerpc
Debian Linux 6.0 mips
Debian Linux 6.0 ia-64
Debian Linux 6.0 ia-32
Debian Linux 6.0 arm
Debian Linux 6.0 amd64
Not Vulnerable:

Discussion

Django 'HttpRequest.get_host()' Information Disclosure Vulnerability

Django is prone to an information-disclosure vulnerability.

Attackers can exploit this issue to obtain sensitive information that may aid in launching further attacks.

Exploit / POC

Django 'HttpRequest.get_host()' Information Disclosure Vulnerability

Attackers can use a browser to exploit this issue.

Solution / Fix

Django 'HttpRequest.get_host()' Information Disclosure Vulnerability

Solution:
Updates are available; please see the references for more information.


MandrakeSoft Enterprise Server 5 x86_64

Mandriva Linux Mandrake 2011 x86_64

Mandriva Linux Mandrake 2011

MandrakeSoft Enterprise Server 5

References

Django 'HttpRequest.get_host()' Information Disclosure Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report