CVE-2017-5223

Exp

An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to /, meaning that relative image URLs get treated as absolute local file paths and added as attachments. To form a remote vulnerability, the msgHTML method must be called, passed an unfiltered, user-supplied HTML document, and must not set a base directory.

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

結論預警: CVE-2017-5223 綜合評估為高可利用風險(65/100):CVSS 技術影響為中級,利用機率(EPSS 2.16%) 核心證據: 已收錄 2 筆公開利用參考(Exploit-DB)。 強制指令: 存在公開利用—請盤點暴露面、落實緩解措施並優先修補。

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

CVE-2017-5223 的公開 exploit 引用(Exploit-DB)

EDB-ID 來源 類型 公開時間 連結
43056 exploit_db edb 2017-10-25 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

CVE-2017-5223 的 EPSS(利用預測評分)

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

# 日期 舊 EPSS 分數 新 EPSS 分數 變化(新 − 舊)
1 2026-07-07 2.14% 2.16% +0.02%
2 2026-06-15 2.92% 2.14% -0.78%
3 2026-06-03 2.92%

完整 EPSS 歷史 (共 25 筆)

CVE-2017-5223 的 CVSS 指標

該 CVE 的 CVSS 指標。

底座分 版本 嚴重度 向量 可利用性 影響 分數來源
5.5 3.0 MEDIUM
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 點擊展開
攻擊向量 (AV:L)
需先取得主機上的執行面,或仰賴其他使用者誤操作/惡意操作才會觸發。
攻擊複雜度 (AC:L)
前置條件清楚,成功路徑穩定,不必仰賴罕見競態或極端環境。
權限需求 (PR:L)
一般使用者權限即可,不必是管理員或 root。
使用者互動 (UI:N)
不必受害者點連結、放行巨集或安裝軟體,攻擊鏈可自動走完。
作用域 (S:U)
破壞局限在脆弱元件原本的安全權限與信任域之內。
機密性影響 (C:H)
大量讀取、匯出或長期潛伏竊取機敏資料,在實務上成立。
完整性影響 (I:N)
對紀錄真實性與不可否認性的破壞可忽略。
可用性影響 (A:N)
不至於造成業務意義上的長時間停擺或災難性效能崩塌。
1.8 3.6 [email protected]
2.1 2.0 LOW
AV:L/AC:L/Au:N/C:P/I:N/A:N 點擊展開
存取路徑 (AV:L)
需本機登入或本機互動,僅遠端觸達不足以單獨完成利用。
存取複雜度 (AC:L)
步驟短、路徑清楚,重現成本低。
認證 (AU:N)
全程無需有效身分。
機密性影響 (C:P)
機密性受到部分損害。
完整性影響 (I:N)
對完整性無影響。
可用性影響 (A:N)
對可用性無影響。
3.9 2.9 [email protected]

CVE-2017-5223 的弱點列舉

CVE-2017-5223 的 GitHub 安全公告

GHSA-4x5h-cr29-fhp6 · 嚴重度: medium · 生態: composer — Local file disclosure in PHPMailer

CVE-2017-5223 的 OS 追蹤

vendor priority summary link
debian not yet assigned CVE-2017-5223 not yet assigned priority: Debian including 1 source packages (libphp-phpmailer), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2017-5223
suse low https://www.suse.com/security/cve/CVE-2017-5223/
ubuntu medium CVE-2017-5223 medium priority: Ubuntu including 1 source packages (libphp-phpmailer), 16 status rows across 16 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, precise, trusty, upstream, xenial, yakkety, zesty): not-affected 9, ignored 4, released 2, DNE 1. https://ubuntu.com/security/CVE-2017-5223

CVE-2017-5223 的影響軟體 / 設定

廠商 產品 版本 原始 CPE
phpmailer_project phpmailer <= 5.2.21 cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*

CVE-2017-5223 的參考連結

cvelogic Threat Intelligence