NetSight
critical9.8

CVE-2022-51027

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 be…

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.

Affected products

VendorProductAffected versions
FIT2CLOUDMeterSphere
from 1.13.0 before 1.14.7
from 1.15.0 before 1.16.4
MetersphereMetersphere
from 1.15.0 before 1.16.4
from 1.13.0 before 1.14.7

Weakness classification

References