Descrizione
Frappe before 15.126.0 and 16.x before 16.55.0 contains a prototype pollution vulnerability that allows Dashboard Manager users to pollute Object.prototype by storing __proto__ keys in Dashboard Chart custom_options. When any user, including administrators, views a dashboard rendering the chart, Object.assign merges attacker properties into Object.prototype, altering Frappe desk client behavior for that session.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 4.6, EPSS 0.4% (percentile 24).
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:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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/frappe/frappe/blob/v16.54.0/frappe/public/js/frappe/widgets/chart_widget.js#L765-L777
- Riferimentohttps://github.com/frappe/frappe/commit/537ee178ebbbd54ac1ee97883ff447e187c3a23c
- Riferimentohttps://github.com/frappe/frappe/commit/82e49e0a7eabd843d85bc9d401eb063bc979a5d7
- Riferimentohttps://github.com/frappe/frappe/commit/8b6f46ec3f5d8b7962b880fa357faa3cd60a4a70
- Riferimentohttps://github.com/frappe/frappe/pull/45942
- Riferimentohttps://github.com/frappe/frappe/releases/tag/v15.126.0
- Riferimentohttps://github.com/frappe/frappe/releases/tag/v16.55.0
- Riferimentohttps://www.vulncheck.com/advisories/frappe-before-15.126.0-and-16-x-before-16.55.0-prototype-pollution-via-dashboard-chart-custom-options