CVEvulnerability
CVE-2012-4520
6.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2012-11-18
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.4 MEDIUM — AV:N/AC:L/Au:N/C:P/I:P/A:N
- Weaknesses
- CWE-20
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.
Affected configurations
• djangoproject django 1.3
• djangoproject django 1.3.1
• djangoproject django 1.3.2
• djangoproject django 1.3.3
• djangoproject django 1.4
• djangoproject django 1.4.1
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145 bugs.debian.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html lists.fedoraproject.org
- http://secunia.com/advisories/51033 Vendor Advisory
- http://secunia.com/advisories/51314 Vendor Advisory
- http://securitytracker.com/id?1027708 securitytracker.com
- http://ubuntu.com/usn/usn-1632-1 ubuntu.com
- http://ubuntu.com/usn/usn-1757-1 ubuntu.com
- http://www.debian.org/security/2013/dsa-2634 www.debian.org
- http://www.openwall.com/lists/oss-security/2012/10/30/4 www.openwall.com
- http://www.osvdb.org/86493 www.osvdb.org
- https://bugzilla.redhat.com/show_bug.cgi?id=865164 bugzilla.redhat.com
- https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3 github.com
- https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e github.com
- https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071 github.com
- https://www.djangoproject.com/weblog/2012/oct/17/security/ Patch, Vendor Advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145 bugs.debian.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html lists.fedoraproject.org
- http://secunia.com/advisories/51033 Vendor Advisory
- http://secunia.com/advisories/51314 Vendor Advisory
- http://securitytracker.com/id?1027708 securitytracker.com
- http://ubuntu.com/usn/usn-1632-1 ubuntu.com
- http://ubuntu.com/usn/usn-1757-1 ubuntu.com
- http://www.debian.org/security/2013/dsa-2634 www.debian.org
- http://www.openwall.com/lists/oss-security/2012/10/30/4 www.openwall.com
- http://www.osvdb.org/86493 www.osvdb.org
- https://bugzilla.redhat.com/show_bug.cgi?id=865164 bugzilla.redhat.com
- https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3 github.com
- https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e github.com
- https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071 github.com
- https://www.djangoproject.com/weblog/2012/oct/17/security/ Patch, Vendor Advisory