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

SaltStack Salt 路径遍历(CVE-2020-11652)

CVE-2020-11652 别名:GHSA-VP49-2G4R-M3X3、PYSEC-2020-103
CVSS 6.5 / 3.1 EPSS 98.1% CISA KEV 在野利用 公开 PoC · 8 Nuclei 模板
综合风险80/ 100
CVSS6.5中危
EPSS98.1%30 天利用概率
机构收录时间2020-05-01更新 2026-12-01

研判简报

概述

CVE-2020-11652 是 SaltStack Salt 中 salt-master 进程 ClearFuncs 类的路径清理缺陷,官方说明其允许已认证用户进行任意目录访问。该缺陷影响 master 侧文件访问边界,可与 CVE-2020-11651 的认证绕过组合:公开 Exploit-DB 代码先获取 root key,再调用 wheel 的 file_roots.read/write 进行路径遍历读写。运行受影响 salt-master 的运维与安全团队应优先排查。厂商记录称,遵循基本互联网安全指南和最佳实践的用户不受该漏洞影响。

严重性

CVSS 3.1 为 6.5(medium),综合风险分 77.29/100。EPSS 30 天利用概率 86.5%,百分位 99.9%(2026-11-26)。攻击面是 salt-master 的 ClearFuncs 方法;单独利用需已认证,但公开利用链可借助 CVE-2020-11651 获取凭据后放大影响。

利用状态

截至 2026-11-26:已列入 CISA KEV(2021-11-03),要求动作是“Apply updates per vendor instructions.”,期限 2022-05-03。已有公开 Nuclei 模板 javascript/cves/2020/CVE-2020-11652.yaml,Exploit-DB 存在 48421,公开 PoC 记录为 8 条。CISA SSVC:automatable=no、exploitation=active、technical_impact=partial。勒索软件关联情况材料未给出。

受影响产品

官方受影响范围为 Salt before 2019.2.4,以及 3000 before 3000.2;组件为 salt-master 进程的 ClearFuncs 类。官方“受影响”字段另标为 n/a n/a。Exploit-DB 参考材料还列出 2017.、2018.,并称在 Debian 10 + Salt 2019.2.0 测试;该扩展范围与官方公告不完全一致,应以官方记录为准。别名:GHSA-VP49-2G4R-M3X3、PYSEC-2020-103。具体部署形态材料未给出。

修复版本

官方修复版本为 Salt 2019.2.4 与 3000.2;3000.2 发布说明明确其为 CVE 修复版本。发布说明同时提示,CVE-2020-11651 修复引入的 _minion_runner 拼写问题会影响 publish.runner,计划在 Sodium 版本处理。其他分支补丁材料未给出。

缓解措施

KEV 要求按厂商说明应用更新。若不能立即修复,材料未给出经官方确认的替代缓解措施;厂商仅表示遵循基本互联网安全指南和最佳实践的用户不受影响。未给出端口限制、配置加固或临时补丁方案。

响应步骤

  1. 盘点所有 salt-master 实例及版本,确认是否存在 Salt before 2019.2.4 或 3000 before 3000.2。
  2. 核查 salt-master 的网络暴露与访问控制现状,优先处理可被非受信网络触达的实例。
  3. 按公开 PoC 特征排查 get_token、wheel 的 file_roots.read/file_roots.write 异常调用及路径遍历痕迹。
  4. 同时排查 CVE-2020-11651 认证绕过迹象,因为公开利用链将两者组合使用。
  5. 升级至对应分支的 2019.2.4 或 3000.2,并复核修复后功能与文件根目录完整性。
  6. 核对 KEV 期限与资产修复状态,持续跟踪厂商后续版本说明。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2020-11652kev
  2. https://www.exploit-db.com/exploits/48421exploit,exploitdb
  3. https://docs.saltstack.com/en/latest/topics/releases/2019.2.4.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  4. https://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rstx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  5. http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00047.htmlvendor-advisory,x_refsource_SUSE,vendor-advisory,x_refsource_SUSE,x_transferred,
  6. http://packetstormsecurity.com/files/157560/Saltstack-3000.1-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  7. https://www.debian.org/security/2020/dsa-4676vendor-advisory,x_refsource_DEBIAN,vendor-advisory,x_refsource_DEBIAN,x_transfer
  8. http://www.vmware.com/security/advisories/VMSA-2020-0009.htmlx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  9. http://packetstormsecurity.com/files/157678/SaltStack-Salt-Master-Minion-Unauthenticated-Remote-Code-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  10. https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-salt-2vx545AGvendor-advisory,x_refsource_CISCO,vendor-advisory,x_refsource_CISCO,x_transferre
  11. https://lists.debian.org/debian-lts-announce/2020/05/msg00027.htmlmailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  12. http://support.blackberry.com/kb/articleDetail?articleNumber=000063758x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  13. http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00070.htmlvendor-advisory,x_refsource_SUSE,vendor-advisory,x_refsource_SUSE,x_transferred,
  14. https://usn.ubuntu.com/4459-1/vendor-advisory,x_refsource_UBUNTU,vendor-advisory,x_refsource_UBUNTU,x_transfer
  15. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-11652government-resource
  16. https://github.com/rapid7/metasploit-framework/tree/master/modules/auxiliary_gather/saltstack_salt_root_keyexploit,metasploit