Descrizione
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.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.8, EPSS 0.8% (percentile 57).
Versioni da aggiornare
- FIT2CLOUD MeterSphere: vulnerabili le versioni dalla
1.13.0precedenti alla1.14.7→ aggiornare alla1.14.7o successiva. - FIT2CLOUD MeterSphere: vulnerabili le versioni dalla
1.15.0precedenti alla1.16.4→ aggiornare alla1.16.4o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Non esporre l'interfaccia di gestione su Internet: consentire l'accesso solo da reti fidate e verificare la presenza di account, sessioni o chiavi non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| FIT2CLOUD | MeterSphere | ≥ 1.13.0 < 1.14.7 | 1.14.7 |
| FIT2CLOUD | MeterSphere | ≥ 1.15.0 < 1.16.4 | 1.16.4 |
Riferimenti
- Riferimentohttps://github.com/metersphere/metersphere/commit/07155cf833
- Riferimentohttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/metersphere/metersphere-plugin-rce.yaml
- Riferimentohttps://web.archive.org/web/20220706000509/https://y4er.com/post/metersphere-plugincontroller-pre-auth-rce/
- Riferimentohttps://www.vulncheck.com/advisories/metersphere-1.13.0-1.16.3-pre-auth-rce-via-plugin-custommethod
- Riferimentohttps://www.vulncheck.com/advisories/metersphere-1.14.7-1.16.4-pre-auth-rce-via-plugin-custommethod