Descrizione
BISHENG before 3.0.0 contains a missing authentication vulnerability in the /api/v2/workflow/invoke and /api/v2/workflow/stop routes that allows unauthenticated attackers to run workflows as the administrator. Attackers knowing a workflow UUID can supply an override replacing a Code node's code parameter with Python passed to exec(), achieving remote code execution, or stop other users' workflow sessions.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.1, EPSS 1.8% (percentile 78).
Versioni da aggiornare
- dataelement BISHENG: vulnerabili le versioni precedenti alla
3.0.0→ aggiornare alla3.0.0o 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 |
|---|---|---|---|
| dataelement | BISHENG | < 3.0.0 | 3.0.0 |
Riferimenti
- Riferimentohttps://github.com/dataelement/bisheng/blob/v2.6.0-fix2/src/backend/bisheng/open_endpoints/api/endpoints/workflow.py#L31-L41
- Riferimentohttps://github.com/dataelement/bisheng/blob/v3.0.0/features/v3.0.0/000-prd1-discovery/research/v2-open-api.md
- Riferimentohttps://github.com/dataelement/bisheng/commit/284ea11882754dc9fcadc2ce36d057e8148d6fa2
- Riferimentohttps://github.com/dataelement/bisheng/pull/2450
- Riferimentohttps://github.com/dataelement/bisheng/releases/tag/v3.0.0
- Riferimentohttps://www.vulncheck.com/advisories/bisheng-before-3.0.0-missing-authentication-via-api-v2-workflow-invoke-and-stop