CVE-2022-51027
MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via /plugin/customMethod
Critical · 9.3Fix available
- CVSS
- 9.3
- EPSS
- 0.78% (p57)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-19
- Product
- FIT2CLOUD MeterSphere
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
MeterSphere versions 1.13.0 before 1.14.7 and 1.15.0 before 1.16.4 contain a pre-authentication code injection vulnerability due to the /plugin/** endpoints being exposed with anonymous access. Attackers can upload a malicious jar via POST /plugin/add and invoke it through POST /plugin/customMethod using the 'entry' and 'request' parameters, which are passed to Class.forName and method invocation for remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
Fixed in
1.14.7 · 1.16.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | MeterSphere | >=1.13.0, <1.14.7 | 1.14.7 |
| vendor | MeterSphere | >=1.15.0, <1.16.4 | 1.16.4 |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use
References
- https://web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/ technical-description
- https://github.com/metersphere/metersphere/commit/07155cf833 patch
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/metersphere-plugin-rce.yaml technical-description
- https://www.vulncheck.com/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommethod third-party-advisory
- https://www.vulncheck.com/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommethod third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51027.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-51027 advisory