Descrizione
Handesk through 1.5 contains a missing authentication vulnerability in the POST /webhook/bitbucket route, which is excluded from CSRF verification and processed by WebhookController::store() without validating any secret, signature, or request source before writing to the database. Unauthenticated attackers can send crafted Bitbucket issue payloads referencing a linked roadmap Idea or ticket to alter the Idea's status or inject attacker-controlled notes attributed to the first administrator account.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.7, EPSS 0.6% (percentile 41).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.
Riferimenti
- Riferimentohttps://github.com/BadChoice/handesk/blob/49814852fe97f524e513e1ca9d78f4c1f4a64dc3/app/Http/Controllers/WebhookController.php#L11-L65
- Riferimentohttps://github.com/BadChoice/handesk/blob/49814852fe97f524e513e1ca9d78f4c1f4a64dc3/routes/web.php#L24
- Riferimentohttps://github.com/BadChoice/handesk/issues/831
- Riferimentohttps://www.vulncheck.com/advisories/handesk-through-1.5-missing-authentication-via-webhook-bitbucket