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

Barracuda Email Security Gateway 参数注入(CVE-2023-7102)

CVE-2023-7102 别名:GHSA-CCQC-VX6W-76X6
CVSS 9.8 / 3.1 EPSS 44.6% CISA KEV 在野利用 公开 PoC · 1
综合风险80/ 100
CVSS9.8严重
EPSS44.6%30 天利用概率
机构收录时间2023-12-24更新 2026-12-01

研判简报

概述

Barracuda ESG 设备通过 Amavis 病毒扫描器调用开源库 Spreadsheet::ParseExcel 解析邮件附件中的 Excel 文件,该库在 Utility.pm 的 ExcelFmt 中对格式字符串使用 eval 处理条件表达式,缺乏校验,导致参数注入并可由恶意 Excel 附件触发任意代码执行。攻击者只需向设备投递特制 Excel 邮件附件即可在解析阶段执行代码,无需用户交互。Barracuda 与 Mandiant 将该活动归因于中国关联组织 UNC4841,并观察到 SEASPY、SALTWATER 恶意软件新变种被投放到少量设备。使用 ESG 设备的邮件安全团队应优先关注。

严重性

CVSS 9.8(3.1),综合风险分 74.87/100;EPSS 30 天利用概率 8.3%(百分位 95.7%,2026-11-25)。攻击面为邮件附件解析入口,属预认证远程代码执行。

利用状态

CISA KEV 已收录(2023-12-24),SSVC 判定 exploitation=active;存在 Exploit-DB/公开 PoC(1 条),Metasploit 已有 barracuda_esg_spreadsheet_rce 模块。核查日期 2026-11-27。Nuclei 状态材料未给出。

受影响产品

Barracuda Networks Email Security Gateway (ESG) Appliance,固件版本 5.1.3.001 至 9.2.1.001,覆盖 300/400/600/800/900 各型号固件。问题组件为 ESG 内置 Amavis 所使用的 Spreadsheet::ParseExcel 库。

修复版本

Barracuda 于 2023-12-21 向所有活跃 ESG 自动下发安全更新,移除存在漏洞的逻辑,客户无需手动操作;官方记录称所有活跃版本均已修补。具体修复版本号材料未给出。另需注意:底层开源库缺陷另立为 CVE-2023-7101,参考材料称当时该库无已知补丁,Spreadsheet::ParseExcel 0.66 版(2023-12-29 发布)修复 CVE-2023-7101。

缓解措施

按 KEV 要求执行厂商修复或缓解措施,无法修复时应停用产品。确认设备已接收 2023-12-21 自动更新;对曾出现失陷迹象的设备,Barracuda 建议整体更换而非仅打补丁。自行在产品中使用 Spreadsheet::ParseExcel 的组织应升级至最新版本以处置 CVE-2023-7101。

响应步骤

  1. 核对全部 ESG 设备固件版本是否处于 5.1.3.001–9.2.1.001 区间,确认自动安全更新已生效。
  2. 对照 Barracuda 公告中的 Host/Network IOC 表排查 SEASPY、SALTWATER 相关失陷迹象。
  3. 检查邮件日志中针对 ESG 投递的特制 Excel 附件与异常解析行为。
  4. 对确认失陷或无法确认清洁的设备,按厂商指引更换设备。
  5. 排查自研产品中 Spreadsheet::ParseExcel 的使用情况并升级。
  6. 持续跟踪 KEV 与厂商公告更新,复核处置结果。

参考来源

  1. https://www.barracuda.com/company/legal/esg-vulnerabilitykev,x_transferred,Vendor Advisory,advisory,euvd
  2. https://www.cyber.gov.au/about-us/view-all-content/alerts-and-advisories/barracuda-email-security-gateway-esg-malicious-activity-additional-indicators-compromise-releasedkev
  3. https://storage.googleapis.com/gweb-uniblog-publish-prod/documents/Year_in_Review_of_ZeroDays.pdfkev
  4. https://www.rapid7.com/globalassets/_pdfs/research/rapid7_2024_attack_intelligence_report.pdfkev
  5. https://view.bitsight.com/viewer/275c18689811d887dfa0368866323ed5#1kev
  6. https://vulncheck.com/kev/cve-2023-7102advisory,vulncheck_kev
  7. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/smtp/barracuda_esg_spreadsheet_rceexploit,metasploit
  8. https://www.cve.org/CVERecord?id=CVE-2023-7101x_transferred,Third Party Advisory,advisory,euvd
  9. https://metacpan.org/dist/Spreadsheet-ParseExcelx_transferred,Product,advisory,euvd
  10. https://github.com/haile01/perl_spreadsheet_excel_rce_pocx_transferred,Third Party Advisory,advisory,euvd
  11. https://github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/lib/Spreadsheet/ParseExcel/Utility.pm#L171x_transferred,Product,advisory,euvd
  12. https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.mdx_transferred,Third Party Advisory,advisory,euvd
  13. https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-59286advisory,euvd