Descrizione
Exposure of sensitive information in the workflow Velocity context (VelocityUtil.getWorkflowContext) in dotCMS versions before 26.11.17-01 allows a back-end user with access to the Workflow Schemes portlet, without being an administrator, to read the company encryption key through Velocity evaluated by a workflow sub-action. The company key decrypts push publishing endpoint secrets and other values protected with it. In addition, the key was included in any JSON serialization of the company object unless each writer excluded it explicitly.
Fixed in 26.11.17-01 and later. The workflow Velocity context now exposes a view of the company without the key, and the key is excluded from JSON serialization by default.
Tipo di vulnerabilità
CWE-200
Esposizione di informazioni sensibili a un soggetto non autorizzato
Il prodotto rende accessibili informazioni sensibili a un soggetto che non è esplicitamente autorizzato a conoscerle.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione · Separazione dei privilegi
Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.
Tutte le 11.927 CVE di tipo CWE-200, con andamento e prevenzione