{"id":"CVE-2012-4520","state":"PUBLISHED","title":"The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted usernam","description":"The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.","publishedAt":"2012-11-18T23:00:00.000Z","updatedAt":"2024-08-06T20:42:53.672Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2012/10/30/4","http://securitytracker.com/id?1027708","https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071","http://www.osvdb.org/86493","http://secunia.com/advisories/51314","http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145","http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html","http://ubuntu.com/usn/usn-1757-1","https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3","http://www.debian.org/security/2013/dsa-2634","https://www.djangoproject.com/weblog/2012/oct/17/security/","http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html","https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e","http://secunia.com/advisories/51033","https://bugzilla.redhat.com/show_bug.cgi?id=865164","http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html","http://ubuntu.com/usn/usn-1632-1"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:25.231Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/4xxx/CVE-2012-4520.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-4520","state":"PUBLISHED","datePublished":"2012-11-18T23:00:00.000Z","dateUpdated":"2024-08-06T20:42:53.672Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-08-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2012/10/30/4","name":"[oss-security] 20121029 Re: CVE Request: Django","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://securitytracker.com/id?1027708","name":"1027708","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071","tags":["x_refsource_CONFIRM"]},{"url":"http://www.osvdb.org/86493","name":"86493","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://secunia.com/advisories/51314","name":"51314","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145","tags":["x_refsource_MISC"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html","name":"FEDORA-2012-16440","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://ubuntu.com/usn/usn-1757-1","name":"USN-1757-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2013/dsa-2634","name":"DSA-2634","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.djangoproject.com/weblog/2012/oct/17/security/","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html","name":"FEDORA-2012-16417","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/51033","name":"51033","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=865164","tags":["x_refsource_MISC"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html","name":"FEDORA-2012-16406","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://ubuntu.com/usn/usn-1632-1","name":"USN-1632-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2013-05-04T09:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2012-10-17T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-4520","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20121029 Re: CVE Request: Django","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/10/30/4"},{"name":"1027708","refsource":"SECTRACK","url":"http://securitytracker.com/id?1027708"},{"name":"https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071","refsource":"CONFIRM","url":"https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071"},{"name":"86493","refsource":"OSVDB","url":"http://www.osvdb.org/86493"},{"name":"51314","refsource":"SECUNIA","url":"http://secunia.com/advisories/51314"},{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145","refsource":"MISC","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145"},{"name":"FEDORA-2012-16440","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html"},{"name":"USN-1757-1","refsource":"UBUNTU","url":"http://ubuntu.com/usn/usn-1757-1"},{"name":"https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3","refsource":"CONFIRM","url":"https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3"},{"name":"DSA-2634","refsource":"DEBIAN","url":"http://www.debian.org/security/2013/dsa-2634"},{"name":"https://www.djangoproject.com/weblog/2012/oct/17/security/","refsource":"CONFIRM","url":"https://www.djangoproject.com/weblog/2012/oct/17/security/"},{"name":"FEDORA-2012-16417","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html"},{"name":"https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e","refsource":"CONFIRM","url":"https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e"},{"name":"51033","refsource":"SECUNIA","url":"http://secunia.com/advisories/51033"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=865164","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=865164"},{"name":"FEDORA-2012-16406","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html"},{"name":"USN-1632-1","refsource":"UBUNTU","url":"http://ubuntu.com/usn/usn-1632-1"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2012/10/30/4","name":"[oss-security] 20121029 Re: CVE Request: Django","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://securitytracker.com/id?1027708","name":"1027708","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.osvdb.org/86493","name":"86493","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://secunia.com/advisories/51314","name":"51314","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html","name":"FEDORA-2012-16440","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://ubuntu.com/usn/usn-1757-1","name":"USN-1757-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2013/dsa-2634","name":"DSA-2634","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.djangoproject.com/weblog/2012/oct/17/security/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html","name":"FEDORA-2012-16417","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/51033","name":"51033","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=865164","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html","name":"FEDORA-2012-16406","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://ubuntu.com/usn/usn-1632-1","name":"USN-1632-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T20:42:53.672Z"}}]}}}