Descrizione
Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only a stock non-administrative account to execute arbitrary operating system commands as the OFBiz process user, by using the updateLayoutImage event, which writes DataResource fields with no permission check, to retype an attacker-created DataResource as an FTL template evaluating its own primary key, then using the resulting FreeMarker evaluation to plant an OFBiz Form Widget whose use-when attribute runs unsandboxed Groovy. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Tipo di vulnerabilità
CWE-425
Direct Request
The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Controllo degli accessi |
Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Eseguire codice o comandi non autorizzati, Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione · Esercizio
Apply appropriate access control authorizations for each access to all restricted URLs, scripts or files.
Architettura e progettazione
Consider using MVC based frameworks such as Struts.
Tutte le 254 CVE di tipo CWE-425, con andamento e prevenzione