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

SugarCRM EmailTemplates 远程代码执行(CVE-2023-22952)

CVE-2023-22952 别名:GHSA-G9W6-C3GX-PMR3
CVSS 8.8 / 3.1 EPSS 32.8% CISA KEV 在野利用 公开 PoC · 1 Nuclei 模板
综合风险76/ 100
CVSS8.8高危
EPSS32.8%30 天利用概率
机构收录时间2023-01-04更新 2026-11-29

研判简报

概述

SugarCRM 多个产品在 12.0 Hotfix 91155 之前的版本中,EmailTemplates 模块因缺少输入校验,允许通过特制请求注入自定义 PHP 代码。注入的 PHP 代码可被写入服务器可访问路径并执行,从而在 SugarCRM 服务器上运行任意命令,威胁客户关系数据与业务情报信息。该漏洞已列入 CISA KEV,并存在公开 PoC、Metasploit 模块与 Nuclei 模板,利用门槛低。使用受影响 SugarCRM 版本、且实例可被外部访问的组织应优先关注。

严重性

CVSS 3.1 评分 8.8(AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H),综合风险分 85.23/100,定性为 high。攻击面为面向公众的 SugarCRM Web 应用,攻击者可通过网络请求触达 EmailTemplates 相关功能。

利用状态

截至核查日期 2026-11-24:EPSS 30 天利用概率 80.1%(百分位 99.6%);已收录 CISA KEV(收录日期 2023-02-02,要求动作期限 2023-02-23);存在公开 Nuclei 检测模板(http/cves/2023/CVE-2023-22952.yaml);Exploit-DB/公开 PoC 记录 1 条,参考链接中另有 Metasploit 模块与 Packet Storm 利用文件。CISA SSVC 评估:automatable=no、exploitation=active、technical_impact=total。材料未给出勒索软件关联信息。

受影响产品

厂商/产品为 SugarCRM / Multiple Products,受影响版本记录为「n/a n/a」,材料未给出具体版本区间。官方描述限定为 12.0 Hotfix 91155 之前的 SugarCRM。涉及组件为 EmailTemplates。部署形态材料未给出;Nuclei 模板提供 Shodan/FOFA/Google 指纹(如 body 含 "sugarcrm inc. all rights reserved"、标题含 "sugarcrm"),可用于识别暴露实例。

修复版本

官方修复版本为 SugarCRM 12.0 Hotfix 91155 或更高版本(依据官方描述与参考材料 remediation)。材料未给出其他分支或产品的对应修复版本号。

缓解措施

无法立即升级时,应限制对 SugarCRM 实例及 EmailTemplates 相关功能的网络访问,仅允许可信来源;对面向互联网的实例实施访问控制与流量检测。材料未给出其他官方缓解建议,KEV 要求动作为「Apply updates per vendor instructions.」。

响应步骤

  1. 资产排查:按 Shodan/FOFA/Google 指纹与已知 SugarCRM 部署清单,确认是否存在 12.0 Hotfix 91155 之前的实例。
  2. 版本确认与升级:核对 SugarCRM 版本,升级至 12.0 Hotfix 91155 或更高版本,并验证 EmailTemplates 输入校验生效。
  3. 检测利用痕迹:检查 Web 访问日志中针对 EmailTemplates 的可疑 multipart 上传请求,以及 /cache/images/ 等路径下异常文件与 PHP 代码落地。
  4. 模板化扫描:使用 Nuclei 模板 http/cves/2023/CVE-2023-22952.yaml 对暴露实例进行验证,注意该模板含 intrusive 标签,需在授权范围内执行。
  5. 入侵评估:若发现注入或命令执行迹象,按 T1059/T1190 视角排查命令与脚本解释器滥用、Web 应用利用链,评估数据暴露范围并启动事件响应。
  6. 持续监控:保留 KEV 与 EPSS 跟踪,复核边界访问控制,防止未修复实例继续暴露。

参考来源

  1. https://support.sugarcrm.com/Resources/Security/sugarcrm-sa-2023-001/kev,x_transferred,advisory,euvd
  2. https://nvd.nist.gov/vuln/detail/CVE-2023-22952kev
  3. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-22952.yamlexploit,nuclei
  4. http://packetstormsecurity.com/files/171320/SugarCRM-12.x-Remote-Code-Execution-Shell-Upload.htmlx_transferred,advisory,euvd
  5. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-22952government-resource
  6. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/sugarcrm_webshell_cve_2023_22952exploit,metasploit
  7. https://infosec.exchange/@ll/109630615353251077kev
  8. https://euvd.enisa.europa.eu/enisa/EUVD-2023-27053kev
  9. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  10. https://unit42.paloaltonetworks.com/sugarcrm-cloud-incident-black-hat/kev
  11. https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-22952kev
  12. https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/reports/2024-unit42-incident-response-report.pdfkev
  13. https://www.verizon.com/business/resources/T600/reports/2024-dbir-data-breach-investigations-report.pdfkev
  14. https://www.rapid7.com/globalassets/_pdfs/research/rapid7_2024_attack_intelligence_report.pdfkev
  15. https://vulncheck.com/kev/cve-2023-22952advisory,vulncheck_kev
  16. https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-27053advisory,euvd