字号·· | 护眼
漏洞档案 · 严重

SaltStack Salt 认证绕过(CVE-2021-25281)

CVE-2021-25281 别名:GHSA-XXW3-765M-F37P、PYSEC-2021-50
CVSS 9.8 / 3.1 EPSS 72.9% CISA KEV 在野利用 公开 PoC · 1 Nuclei 模板
综合风险91/ 100
CVSS9.8严重
EPSS72.9%30 天利用概率
机构收录时间2021-02-27更新 2026-12-01

研判简报

概述

SaltStack Salt 在 3002.5 之前版本的 salt-api 中,wheel_async 客户端不校验 eauth 凭据,导致认证绕过。攻击者可远程在 master 上运行任意 wheel 模块,进而控制 master 及其管理的全部受管系统。该漏洞无需认证、利用复杂度低,暴露 salt-api 的 Salt master 风险极高。安全研究员与运维 Salt 基础设施的团队应优先关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 90.79/100,评级 critical。攻击面为对外可达的 salt-api 接口,属未认证远程利用。

利用状态

核查日期 2026-11-25。EPSS 30 天利用概率 73.0%(百分位 99.5%)。已收录 CISA KEV(收录日期 2026-01-14)。已有公开 Nuclei 检测模板(http/cves/2021/CVE-2021-25281.yaml),Exploit-DB/公开 PoC 记录 1 条,参考链接含 Metasploit 模块(saltstack_salt_wheel_async_rce)。CISA SSVC:automatable=yes / exploitation=none / technical_impact=total。勒索关联:材料未给出。

受影响产品

saltstack:salt 多个版本区间受影响:<2015.8.10;>=2015.8.11 <2015.8.13;>=2016.3.0 <2016.3.4;>=2016.3.5 <2016.3.6;>=2016.3.7 <2016.3.8;>=2016.3.9 <2016.11.3;>=2016.11.4 <2016.11.5;>=2016.11.7 <2016.11.10;>=2017.5.0 <2017.7.8;>=2018.2.0 <=2018.3.5;>=2019.2.0 <2019.2.5;>=2019.2.6 <2019.2.8;>=3000 <3000.6;>=3001 <3001.4;>=3002 <3002.5。另涉及 fedoraproject:fedora 32/33/34 与 debian:debian_linux 9.0/10.0/11.0。组件为 salt-api 的 wheel_async 客户端;部署形态为 Salt master。

修复版本

官方结构化提取的修复版本包括:salt 2015.8.10、2015.8.13、2016.3.4、2016.3.6、2016.3.8、2016.11.3、2016.11.5、2016.11.10、2017.7.8、2019.2.5;标题与描述指向 3002.5 之前版本存在该问题。3000/3001/3002 分支的具体修复版本号材料未给出,建议参照官方 releases 页面确认。

缓解措施

KEV 要求动作:按厂商说明应用修复或缓解措施,若无法修复或缓解则停止使用该产品(期限材料未给出)。在无法立即升级时,应限制 salt-api 的网络暴露、仅允许可信来源访问,并核查 eauth 相关配置;材料未给出更多具体缓解配置。

响应步骤

  1. 盘点所有 Salt master 及 salt-api 暴露面,比对上述受影响版本区间。
  2. 升级至对应分支的官方修复版本(如 3002.5 及以上,或材料列出的各分支修复版本)。
  3. 无法立即修复的,按 KEV 要求执行厂商缓解或停止使用,并收紧 salt-api 访问控制。
  4. 用 Nuclei 模板 CVE-2021-25281.yaml 对暴露实例做检测验证。
  5. 排查 wheel_async 相关异常调用与未授权访问日志,评估是否已被利用。
  6. 关注 EPSS 与 KEV 状态更新,复核处置优先级。

参考来源

  1. https://app.crowdsec.net/cti/cve-explorer/CVE-2021-25281kev
  2. https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2021-25281kev
  3. https://vulncheck.com/xdb/398d6aee215aexploit,vulncheck_xdb
  4. https://github.com/Immersive-Labs-Sec/CVE-2021-25281poc,github,exploit,poc_github
  5. https://vulncheck.com/kev/cve-2021-25281advisory,vulncheck_kev
  6. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25281.yamlexploit,nuclei
  7. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/http/saltstack_salt_wheel_async_rceexploit,metasploit
  8. https://github.com/saltstack/salt/releasesx_transferred,Release Notes,Third Party Advisory,advisory,euvd
  9. https://www.saltstack.com/blog/active-saltstack-cve-announced-2021-jan-21/x_transferred,Vendor Advisory,advisory,euvd
  10. https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/x_transferred,Vendor Advisory,advisory,euvd
  11. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/vendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  12. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/vendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  13. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/vendor-advisory,vendor-advisory,x_transferred,Mailing List,Third Party Advisory,
  14. https://security.gentoo.org/glsa/202103-01vendor-advisory,vendor-advisory,x_transferred,Third Party Advisory,advisory,euvd
  15. http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.htmlx_transferred,Exploit,Third Party Advisory,VDB Entry,advisory,euvd
  16. https://lists.debian.org/debian-lts-announce/2021/11/msg00009.htmlmailing-list,mailing-list,x_transferred,Mailing List,Third Party Advisory,adviso