CVE-2012-4520

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.

公開: 2012-11-18 最後更新: 2026-06-16 指派方: [email protected] 來源: [email protected]

結論預警: CVE-2012-4520 綜合評估為中等風險(56.2/100):CVSS 技術影響為中級,利用機率(EPSS 3.64%) 強制指令: 梳理受影響資產並納入修補計畫。

風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。

CVE-2012-4520 的 EPSS(利用預測評分)

EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。

# 日期 舊 EPSS 分數 新 EPSS 分數 變化(新 − 舊)
1 2026-06-15 3.89% 3.64% -0.26%
2 2025-11-30 4.44% 3.89% -0.55%
3 2025-03-30 4.44%

完整 EPSS 歷史 (共 7 筆)

CVE-2012-4520 的 CVSS 指標

該 CVE 的 CVSS 指標。

底座分 版本 嚴重度 向量 可利用性 影響 分數來源
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N 點擊展開
存取路徑 (AV:N)
只要路由可達,即可從遠端發動利用。
存取複雜度 (AC:L)
步驟短、路徑清楚,重現成本低。
認證 (AU:N)
全程無需有效身分。
機密性影響 (C:P)
機密性受到部分損害。
完整性影響 (I:P)
完整性受到部分損害。
可用性影響 (A:N)
對可用性無影響。
10.0 4.9 [email protected]

CVE-2012-4520 的弱點列舉

CVE-2012-4520 的 GitHub 安全公告

GHSA-2655-q453-22f9 · 嚴重度: high · 生態: pip — Django Allows Arbitrary URL Generation

CVE-2012-4520 的 OS 追蹤

vendor priority summary link
debian not yet assigned CVE-2012-4520 not yet assigned priority: Debian including 1 source packages (python-django), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-4520
redhat medium https://access.redhat.com/security/cve/CVE-2012-4520
ubuntu medium CVE-2012-4520 medium priority: Ubuntu including 1 source packages (python-django), 6 status rows across 6 suites (hardy, lucid, oneiric, precise, quantal, upstream): released 5, ignored 1. https://ubuntu.com/security/CVE-2012-4520

CVE-2012-4520 的影響軟體 / 設定

廠商 產品 版本 原始 CPE
djangoproject django 1.3 cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*
djangoproject django 1.3 cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*
djangoproject django 1.3 cpe:2.3:a:djangoproject:django:1.3:beta1:*:*:*:*:*:*
djangoproject django 1.3.1 cpe:2.3:a:djangoproject:django:1.3.1:*:*:*:*:*:*:*
djangoproject django 1.3.2 cpe:2.3:a:djangoproject:django:1.3.2:*:*:*:*:*:*:*
djangoproject django 1.3.3 cpe:2.3:a:djangoproject:django:1.3.3:*:*:*:*:*:*:*
djangoproject django 1.4 cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:*
djangoproject django 1.4.1 cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:*

CVE-2012-4520 的參考連結

URL 標籤
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html
http://secunia.com/advisories/51033 Vendor Advisory
http://secunia.com/advisories/51314 Vendor Advisory
http://securitytracker.com/id?1027708
http://ubuntu.com/usn/usn-1632-1
http://ubuntu.com/usn/usn-1757-1
http://www.debian.org/security/2013/dsa-2634
http://www.openwall.com/lists/oss-security/2012/10/30/4
http://www.osvdb.org/86493
https://bugzilla.redhat.com/show_bug.cgi?id=865164
https://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3
https://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e
https://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071
https://www.djangoproject.com/weblog/2012/oct/17/security/ Patch Vendor Advisory
cvelogic Threat Intelligence