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

WSO2 Multiple Products 任意文件上传致远程代码执行(CVE-2022-29464)

CVE-2022-29464 别名:GHSA-MFGW-52PJ-HRHG
CVSS 9.8 / 3.1 EPSS 90.4% CISA KEV 在野利用 勒索软件利用 公开 PoC · 33 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS90.4%30 天利用概率
机构收录时间2022-04-18更新 2026-11-29

研判简报

概述

WSO2 多个产品存在不受限制的文件上传漏洞,攻击者通过 /fileupload 端点配合 Content-Disposition 中的目录穿越序列(如 ../../../../repository/deployment/server/webapps)将文件写入 web 根目录下,进而实现远程代码执行。该漏洞无需认证即可触发,影响 API Manager、Identity Server、Enterprise Integrator、Open Banking 等多条产品线。使用上述 WSO2 产品对外提供管理或认证端点的组织应优先关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 100.0/100,评级 critical。攻击面为网络可达的 /fileupload 端点,利用无需前置权限与用户交互。

利用状态

截至核查日期 2026-11-24:EPSS 30 天利用概率 100.0%(百分位 100.0%);已收录 CISA KEV(2022-04-25),KEV 要求动作期限 2022-05-16;存在已知勒索软件利用;已有公开 Nuclei 检测模板(http/cves/2022/CVE-2022-29464.yaml);Exploit-DB/公开 PoC 共 33 条;CISA SSVC 判定 automatable=yes / exploitation=active / technical_impact=total。参考材料中的 Nuclei 模板与 Metasploit 模块均印证了公开可利用性。

受影响产品

  • wso2:api_manager >=2.2.0 <=4.0.0
  • wso2:enterprise_integrator >=6.2.0 <=6.6.0
  • wso2:identity_server >=5.2.0 <=5.11.0
  • wso2:identity_server_analytics 5.4.0 / 5.4.1 / 5.5.0 / 5.6.0
  • wso2:identity_server_as_key_manager >=5.3.0 <=5.10.0
  • wso2:open_banking_am >=1.3.0 <=2.0.0
  • wso2:open_banking_iam 2.0.0
  • wso2:open_banking_km >=1.3.0 <=1.5.0

部署形态材料未给出;Nuclei 模板提供 Shodan/FOFA 指纹(http.favicon.hash:1398055326、icon_hash=1398055326)及 Google 查询 inurl:"carbon/admin/login",可用于定位暴露实例。

修复版本

材料未给出具体修复版本号。KEV 要求动作仅为「Apply updates per vendor instructions.」,官方通告见 WSO2 安全公告 WSO2-2021-1738(URL 已列于参考链接),具体补丁版本需以该公告为准,材料未给出。

缓解措施

材料未给出官方缓解措施细节。可参考的替代动作包括:限制 /fileupload 端点及 carbon/admin 管理界面的网络暴露、在边界设备上拦截包含目录穿越序列的 multipart 上传请求。上述为基于漏洞描述的推断性建议,材料未给出厂商确认的缓解方案。

响应步骤

  1. 资产排查:按受影响版本区间与产品清单比对,结合 favicon 哈希与 inurl:"carbon/admin/login" 指纹定位暴露实例。
  2. 暴露面收敛:确认 /fileupload 端点与管理控制台是否可从不可信网络访问,优先下线或隔离。
  3. 检测利用痕迹:检查 repository/deployment/server/webapps/authenticationendpoint/ 等 web 目录下是否存在异常 JSP 文件;可部署上述 Nuclei 模板做非破坏性验证。
  4. 日志审计:排查对 /fileupload 的 POST 请求及 Content-Disposition 中的 ../ 序列,关联 T1083(文件与目录发现)、T1005(本地数据采集)行为。
  5. 处置与升级:按 WSO2 官方通告 WSO2-2021-1738 应用更新;若已发现 webshell,按入侵事件流程隔离主机、取证并轮换凭据。
  6. 持续监测:鉴于 EPSS 接近 100% 且存在勒索软件利用记录,将相关指纹与检测规则纳入常态化扫描。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2022-29464kev
  2. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-29464.yamlexploit,nuclei
  3. http://www.openwall.com/lists/oss-security/2022/04/22/7mailing-list,mailing-list,x_transferred,Mailing List,Third Party Advisory,adviso
  4. https://github.com/hakivvi/CVE-2022-29464x_transferred,Exploit,Third Party Advisory,advisory,euvd,poc,github,exploit,poc_
  5. http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.htmlx_transferred,Exploit,Third Party Advisory,VDB Entry,advisory,euvd
  6. https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/x_transferred,Vendor Advisory,advisory,euvd
  7. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-29464government-resource,US Government Resource
  8. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/wso2_file_upload_rceexploit,metasploit
  9. https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-33802advisory,euvd
  10. https://www.rapid7.com/blog/post/2022/04/22/opportunistic-exploitation-of-wso2-cve-2022-29464/kev
  11. https://euvd.enisa.europa.eu/enisa/EUVD-2022-33802kev
  12. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  13. https://www.trendmicro.com/en_us/research/22/e/patch-your-wso2-cve-2022-29464-exploited-to-install-linux-compatible-cobalt-strike-beacons-other-malware.htmlkev
  14. https://www.lacework.com/blog/kinsing-dark-iot-botnet-among-threats-targeting-cve-2022-26134/kev
  15. https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/kev
  16. https://research.nccgroup.com/2022/09/30/a-glimpse-into-the-shadowy-realm-of-a-chinese-apt-detailed-analysis-of-a-shadowpad-intrusion/kev