NVD Vulnerability Detail
Search Exploit, PoC
CVE-2012-4520
Summary

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.

Publication Date Nov. 19, 2012, 8:55 a.m.
Registration Date Jan. 28, 2021, 3:03 p.m.
Last Update Nov. 21, 2024, 10:43 a.m.
CVSS2.0 : MEDIUM
Score 6.4
Vector AV:N/AC:L/Au:N/C:P/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Django における任意の URL が表示される脆弱性
Title Django における任意の URL が表示される脆弱性
Summary

Django の django.http.HttpRequest.get_host 関数には、任意の URL が生成されて、表示される脆弱性が存在します。

Possible impacts 第三者により、巧妙に細工された Host ヘッダ内のユーザ名およびパスワードを介して、任意の URL が生成されて、表示される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Oct. 17, 2012, midnight
Registration Date Nov. 20, 2012, 5:30 p.m.
Last Update Nov. 30, 2012, 6:16 p.m.
Affected System
Django Software Foundation
Django 1.3.4 未満の 1.3.x
Django 1.4.2 未満の 1.4.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年11月20日]
  掲載
[2012年11月30日]
  CWE による脆弱性タイプ一覧:CWE-ID を変更
Feb. 17, 2018, 10:37 a.m.