{"id":"CVE-2012-4520","sourceIdentifier":"secalert@redhat.com","published":"2012-11-18T23:55:01.040","lastModified":"2026-06-16T23:45:15.110","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"La función django.http.HttpRequest.get_host en Django v1.3.x antes de v1.3.4 y v1.4.x antes de v1.4.2, permite a atacantes remotos generar y mostrar URLs de su elección a través de nombre de usuario y contraseña de la cabecera Host manipulados."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:N","baseScore":6.4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-20"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*","matchCriteriaId":"8F5428AE-6B63-4D27-BCC4-F228264A6F0E"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*","matchCriteriaId":"06F122AC-B9BF-4E27-A7C0-F3E7B5E8A907"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:*","matchCriteriaId":"33D378F8-CFDC-4882-A838-406ABA7AD8CC"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:*","matchCriteriaId":"132795AE-92DD-42CB-A59E-5F7136F93B46"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:*","matchCriteriaId":"6B5BE262-260E-4250-8F68-7392FD68970E"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:*","matchCriteriaId":"F18B54E2-447B-4B38-9E88-6833F67EB24C"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*","matchCriteriaId":"9A79FF7F-8F92-4FEB-96CC-6B15D0CE920D"},{"vulnerable":true,"criteria":"cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"13EF02D4-406C-4146-9B8F-FAC906E7B6E5"}]}]}],"references":[{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/51033","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/51314","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://securitytracker.com/id?1027708","source":"secalert@redhat.com"},{"url":"http://ubuntu.com/usn/usn-1632-1","source":"secalert@redhat.com"},{"url":"http://ubuntu.com/usn/usn-1757-1","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2013/dsa-2634","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2012/10/30/4","source":"secalert@redhat.com"},{"url":"http://www.osvdb.org/86493","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=865164","source":"secalert@redhat.com"},{"url":"https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3","source":"secalert@redhat.com"},{"url":"https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e","source":"secalert@redhat.com"},{"url":"https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071","source":"secalert@redhat.com"},{"url":"https://www.djangoproject.com/weblog/2012/oct/17/security/","source":"secalert@redhat.com","tags":["Patch","Vendor Advisory"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/51033","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/51314","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://securitytracker.com/id?1027708","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://ubuntu.com/usn/usn-1632-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://ubuntu.com/usn/usn-1757-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2013/dsa-2634","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2012/10/30/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/86493","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=865164","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.djangoproject.com/weblog/2012/oct/17/security/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]}]}