字号·· | 护眼
漏洞档案 · 中危

OpenSSH scp 客户端任意文件覆盖(CVE-2019-6111)

CVE-2019-6111 别名:GHSA-JR78-HFW4-XP7G
CVSS 5.9 / 3.1 EPSS 58.2% CISA KEV 在野利用 勒索软件利用 公开 PoC · 2
综合风险77/ 100
CVSS5.9中危
EPSS58.2%30 天利用概率
机构收录时间2019-01-31更新 2026-12-01

研判简报

概述

OpenSSH 7.9 的 scp 客户端实现源自 1983 年的 rcp,由服务器决定发送哪些文件/目录,客户端仅对返回的对象名做粗略校验(仅阻止目录遍历)。恶意 scp 服务器或中间人可覆盖客户端目标目录中的任意文件;使用 -r 递归操作时还可操纵子目录,例如覆盖 .ssh/authorized_keys。使用 scp 从不可信源拉取文件、或处于可被中间人劫持网络中的运维与开发人员应重点关注。

严重性

CVSS 3.1 评分 5.9(medium),综合风险分 77.24/100;EPSS 30 天利用概率 58.2%(百分位 99.3%,日期 2026-11-27)。攻击面为客户端侧:需用户执行 scp 拉取操作并接受恶意服务器或遭中间人劫持。

利用状态

CISA KEV 已收录(2020-11-02),并标注已知勒索软件利用;Exploit-DB 存在 2 条公开 PoC(46193、46516,均为 "SSHtranger Things",测试于 Ubuntu 18.04.1 LTS、OpenSSH 客户端 7.6p1)。CISA SSVC:automatable=no / exploitation=poc / technical_impact=partial。以上核查日期 2026-11-27。Nuclei 状态材料未给出。

受影响产品

OpenBSD / OpenSSH(问题在 OpenSSH 7.9 中发现)。结构化受影响记录为 Siemens 产品:SIMATIC S7-1500 CPU 1518-4 PN/DP MFP、SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP、SIPLUS S7-1500 CPU 1518-4 PN/DP MFP,版本区间 >=V3.1.0 <V3.1.5。组件为 scp 客户端;部署形态材料未给出。

修复版本

官方结构化修复版本:SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5、SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5、SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5。OpenSSH 上游修复版本材料未给出。

缓解措施

KEV 要求按厂商说明应用修复或缓解,无法修复则停用产品(期限未给)。在无法立即修复时:避免从不可信服务器执行 scp 拉取,尤其是 -r 递归与以 . 为本地路径的操作;改用 sftp 等替代传输方式(材料未给出具体替代方案细节);限制 scp 客户端可写目标目录范围。材料未给出更多厂商缓解指引。

响应步骤

  1. 盘点使用 scp 拉取外部文件的终端与 Siemens 受影响型号,核对版本是否落在 >=V3.1.0 <V3.1.5。
  2. 升级至 V3.1.5 或厂商指定修复版本。
  3. 排查客户端目标目录(含 .ssh/authorized_keys 与子目录)是否存在非请求文件或异常改动。
  4. 检查是否出现与 KEV 所述勒索软件利用相符的迹象,并留存日志。
  5. 对无法升级的设备按 KEV 要求停用或隔离,禁止其从不可信源执行 scp。

参考来源

  1. https://cybersecurityworks.com/blog/ransomware/ryuk-raising-the-temperature-in-healthcare.htmlkev
  2. https://info.securin.io/hubfs/Securin%20Ransomware%20Report%202023.pdfkev
  3. https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2019-6111kev
  4. https://vulncheck.com/kev/cve-2019-6111advisory,vulncheck_kev
  5. https://www.exploit-db.com/exploits/46193exploit,exploitdb
  6. https://www.exploit-db.com/exploits/46516exploit,exploitdb
  7. https://www.debian.org/security/2019/dsa-4387vendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  8. https://security.netapp.com/advisory/ntap-20190213-0001/x_transferred,advisory,euvd
  9. http://www.securityfocus.com/bid/106741vdb-entry,vdb-entry,x_transferred,advisory,euvd
  10. https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.cx_transferred,advisory,euvd
  11. https://usn.ubuntu.com/3885-1/vendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  12. https://usn.ubuntu.com/3885-2/vendor-advisory,vendor-advisory,x_transferred,advisory,euvd
  13. https://bugzilla.redhat.com/show_bug.cgi?id=1677794x_transferred,advisory,euvd
  14. https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txtx_transferred,advisory,euvd
  15. https://www.exploit-db.com/exploits/46193/exploit,exploit,x_transferred,advisory,euvd
  16. https://security.gentoo.org/glsa/201903-16vendor-advisory,vendor-advisory,x_transferred,advisory,euvd