CVE-2022-51027 json
MeterSphere < 1.14.7 / 1.16.4 Pre-Auth RCE via /plugin/customMethod
published 10h ago modified 8h ago also EUVD-2022-56089
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2022-51027 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 9h ago
Exploits and checks
- web.archive.org https://web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- FIT2CLOUD MeterSphere
Classification
- Weakness
-
- CWE-306 Missing Authentication for Critical Functionality
References
-
github.com
/metersphere/metersphere/commit/07155cf833
patch, issue-tracking
-
web.archive.org
/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/
technical-description, exploit
-
github.com
/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/metersphere-plugin-rce.yaml
technical-description
-
vulncheck.com
/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommethod
third-party-advisory
-
vulncheck.com
/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommethod
third-party-advisory
Sources
- CVE List CVE-2022-51027
- NVD CVE-2022-51027
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.