CVE-2022-51027
MeterSphere versions 1.13.0 before 1.14.7 and 1.15.0 before 1.16.4 …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/metersphere/metersphere/commit/07155cf833
- github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/me
- web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-
- www.vulncheck.com/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommetho
- www.vulncheck.com/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommetho
- nvd.nist.gov/vuln/detail/CVE-2022-51027
- cve.org/CVERecord?id=CVE-2022-51027
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.