MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via /plugin/customMethod
- CVE-2022-51027
- GHSA-8cm6-3459-j6g7
- EUVD-2022-56089
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.
Text from the CVE.org record.
Recommendation
FIT2CLOUD MeterSphere
- If you run a version from 1.15.0 to before 1.16.4update to 1.16.4 or laterMinor version change: check the release notes
- If you run a version from 1.13.0 to before 1.14.7update to 1.14.7 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
FIT2CLOUD MeterSphere
Affected versions Fixed in from 1.15.0 to before 1.16.4 1.16.4 from 1.13.0 to before 1.14.7 1.14.7
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.