CRITICAL 9.8

CVE-2022-51027

MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via /plugin/customMethod

Preliminary: affected artifacts were inferred from the fix commits of the source repository and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
io.metersphere » meterspherepreliminary
< 07155cf833>= 1.13.0, < 1.14.7>= 1.15.0, < 1.16.4
07155cf833, 1.14.7, 1.16.4

Blast radius

0affected artifacts
0affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.