Descrizione
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, the POST /api/v1/models/import endpoint allows users with the workspace.models_import permission to overwrite any existing model in the database, regardless of ownership. When an imported model's ID matches an existing model, the endpoint merges the attacker's payload over the existing model data and writes it to the database with no ownership or access grant validation. Additionally, filter_allowed_access_grants is never called, bypassing the access grant restrictions enforced on all other model mutation endpoints. This vulnerability is fixed in 0.9.0.
Tipo di vulnerabilità
CWE-283
Unverified Ownership
The product does not properly verify that a critical resource is owned by the proper entity.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione · Esercizio
Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Separazione dei privilegi
Valuta il principio della separazione dei privilegi: richiedi che siano soddisfatte più condizioni prima di concedere l’accesso a una risorsa del sistema.
Tutte le 37 CVE di tipo CWE-283, con andamento e prevenzione