CVE-2022-51027: FIT2CLOUD MeterSphere · Remote code execution
Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-18
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.
Enclave's analysis
MeterSphere's /plugin/** endpoints shipped with anonymous access, letting anyone upload a malicious JAR via /plugin/add and trigger it through /plugin/customMethod, which feeds attacker input straight into Class.forName for full remote code execution. No login or user interaction is needed, just two plain HTTP POSTs. The chain is public as a verified Nuclei template with a ready-made working payload, and Shadowserver logged real exploitation back in October 2023. Patch to 1.14.7 or 1.16.4 and make sure /plugin/** isn't exposed on older builds.
Fix
Upgrade MeterSphere to 1.14.7 or 1.16.4; FIT2CLOUD MeterSphere to 1.14.7 (1.14.x line) or 1.16.4 (1.15.x/1.16.x line).
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| MeterSphere | 1.13.0 before 1.14.7 | 1.14.7 |
| MeterSphere | 1.15.0 before 1.16.4 | 1.16.4 |
| FIT2CLOUD MeterSphere | 1.13.0 <= version < 1.14.7, and 1.15.0 <= version < 1.16.4 | 1.14.7 (1.14.x line) or 1.16.4 (1.15.x/1.16.x line) |