Descrizione
Incorrect Authorization in the updateLayout simple-method in applications/content/minilang/layout/LayoutEvents.xml in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only OFBTOOLS_VIEW and CONTENTMGR_VIEW to execute arbitrary commands as the OFBiz process user, by using updateLayout's authorization check — which validates only the fixed CONTENT_CREATE operation rather than an update permission on the actual Content record and an independently selected DataResource — to relink an existing RESPONSE-purpose Content record and convert an arbitrary, independently selected DataResource into an OFBIZ_FILE/FTL resource pointed at the OFBiz access log, poisoned via a crafted User-Agent header and evaluated through the normal authenticated showContent route. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 1.0% (percentile 63).
Versioni da aggiornare
- Apache Ofbiz: vulnerabili le versioni precedenti alla
24.09.08→ aggiornare alla24.09.08o successiva. - Apache Software Foundation Apache OFBiz: vulnerabili le versioni precedenti alla
24.09.08→ aggiornare alla24.09.08o successiva.
Patch e advisory
- Advisory del vendor: lists.apache.org/thread.html/7b2syzksp7klt9fvhdg0olld…
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 |
|---|---|---|---|
| Apache | Ofbiz | < 24.09.08 | 24.09.08 |
| Apache Software Foundation | Apache OFBiz | < 24.09.08 | 24.09.08 |
Riferimenti
- Advisory del vendorhttps://lists.apache.org/thread.html/7b2syzksp7klt9fvhdg0olldvs2g83lz