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

FIT2CLOUD MeterSphere 预认证代码注入(CVE-2022-51027):匿名访问 /plugin/** 导致远程代码执行

CVE-2022-51027
CVSS 9.3 / 4.0 EPSS 0.8% CISA KEV 在野利用
综合风险68/ 100
CVSS9.3严重
EPSS0.8%30 天利用概率
机构收录时间2026-11-18更新 2026-11-25

研判简报

FIT2CLOUD MeterSphere 预认证代码注入(CVE-2022-51027):匿名访问 /plugin/** 导致远程代码执行

概述

MeterSphere 的 /plugin/** 端点被配置为匿名可访问,攻击者无需认证即可通过 POST /plugin/add 上传恶意 jar,再经 POST /plugin/customMethod 的 entry、request 参数触发 Class.forName 与方法调用,实现远程代码执行。该漏洞属 CWE-306(关键功能缺失认证),攻击者可完全控制目标系统。由于利用无需凭据且已列入 CISA KEV,所有暴露于网络的 MeterSphere 实例都应优先排查。

严重性

CVSS 9.3(4.0 版),综合风险分 68.2/100,评级 critical;EPSS 30 天利用概率材料未给出。攻击面为面向公网的 /plugin/** 接口,SSVC 判定 automatable=yes、technical_impact=total。

利用状态

CISA KEV 已收录(2026-11-18),SSVC exploitation=poc。公开 PoC 与分析文章存在(y4er.com 存档、Nuclei 模板 metersphere-plugin-rce.yaml)。Shadowserver Foundation 于 2023-10-14 首次观测到利用证据。勒索软件关联情况材料未给出。核查日期 2026-11-24。

受影响产品

FIT2CLOUD MeterSphere >=1.13.0 <1.14.7 与 >=1.15.0 <1.16.4。涉及组件为 PluginController 的 add/customMethod 接口及 PluginService 的 jar 加载逻辑。部署形态为 Docker 化在线安装(参考材料以 v1.16.3 安装包为例)。

修复版本

官方修复版本:MeterSphere 1.14.7、1.16.4。修复方式为移除 /plugin/** 路由的匿名权限(参考材料 diff 描述)。

缓解措施

无法立即升级时,按厂商说明处置;KEV 要求应用修复或缓解措施,否则停止使用该产品(期限材料未给出)。可行替代动作包括:在网络层限制 /plugin/** 的外部访问、仅允许可信来源;将实例移出公网暴露面。具体厂商缓解指引材料未给出。

响应步骤

  1. 盘点所有 MeterSphere 实例版本,确认是否落在两个受影响区间。
  2. 检查 /plugin/add、/plugin/customMethod 的访问日志与异常 jar 上传记录,重点回溯 2023-10-14 之后的流量。
  3. 排查 /opt/metersphere/data/body/plugin 目录下可疑 jar 文件。
  4. 升级至 1.14.7 或 1.16.4,并验证匿名访问已被移除。
  5. 对已确认失陷实例按凭据泄露与横向移动假设处置,参考 T1190/T1078 排查有效账户滥用。

参考来源

  1. https://www.cve.org/CVERecord?id=CVE-2022-51027kev
  2. https://www.vulncheck.com/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommethodkev,third-party-advisory
  3. https://vulncheck.com/kev/cve-2022-51027advisory,vulncheck_kev
  4. https://web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/technical-description,exploit
  5. https://github.com/metersphere/metersphere/commit/07155cf833patch,issue-tracking
  6. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/metersphere-plugin-rce.yamltechnical-description
  7. https://www.vulncheck.com/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommethodthird-party-advisory