Descrizione
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.4.0, controllers/C_Document.class.php write actions, including move_action_process(), do not verify the caller's access to the source document, current patient and category, or destination patient and category before Document::change_patient() performs the mutation. A low-privilege authenticated user can reassign an arbitrary document to a patient or category the user can access and then retrieve it through the normally protected read path. The reassignment occurs before a later list rendering check, so a final HTTP 403 response does not mean the unauthorized write was blocked. This issue is fixed in version 8.4.0.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.6, EPSS 0.4% (percentile 39).
Versioni da aggiornare
- Open-Emr Openemr: vulnerabili le versioni precedenti alla
8.4.0→ aggiornare alla8.4.0o successiva. - openemr openemr: vulnerabile la versione
< 8.4.0→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: github.com/openemr/openemr/commit/312b5d042f7fa…
- Patch: github.com/openemr/openemr/pull/13353
- Note di rilascio: github.com/openemr/openemr/releases/tag/v8_3_0
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Open-Emr | Openemr | < 8.4.0 | 8.4.0 |
| openemr | openemr | < 8.4.0 | — |
Riferimenti
- Patchhttps://github.com/openemr/openemr/commit/312b5d042f7fa49cc78ebed041155fba339a991c
- Patchhttps://github.com/openemr/openemr/pull/13353
- Exploit pubblicohttps://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv
- Exploit pubblicohttps://github.com/openemr/openemr/security/advisories/GHSA-92rh-g949-4mvv
- Note di rilasciohttps://github.com/openemr/openemr/releases/tag/v8_3_0