Descrizione
Frappe HR (hrms) before 16.9.0 contains a missing authorization vulnerability in the hrms.api.roster.get_events method that allows authenticated employees to view other employees' leave and shift data by bypassing User Permissions. Attackers with the Employee role can call get_events with empty filters for any date range to retrieve every employee's approved leave applications and shift assignments, including leave types, dates, shift locations and times.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 4.3, EPSS 0.3% (percentile 26).
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:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni 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/frappe/hrms/blob/v16.8.0/hrms/api/roster.py#L271-L344
- Riferimentohttps://github.com/frappe/hrms/commit/65e04cc5a251a0f3447ff74d28659387b840a810
- Riferimentohttps://github.com/frappe/hrms/pull/4651
- Riferimentohttps://github.com/frappe/hrms/releases/tag/v16.9.0
- Riferimentohttps://github.com/geo-chen/oss/blob/main/hrms.md
- Riferimentohttps://www.vulncheck.com/advisories/frappe-hr-hrms-before-16.9.0-missing-authorization-via-roster-get-events