Descrizione
Cronicle is a multi-server task scheduler and runner, with a web based front-end UI. Prior to 0.9.124, an authenticated non-admin with run_events, create_events, or edit_events privilege can supply undeclared keys in event params through api_create_event, api_update_event, or api_run_event. lib/api.js and lib/api/event.js validate the parameter object without restricting its keys, and lib/job.js uppercases those keys and applies them to the child process environment after administrator-defined plugin variables. A key that collides with a security-sensitive environment variable can therefore override the plugin execution context and may cause privilege escalation, arbitrary code execution, data access, or service disruption depending on the plugin and runtime. This issue is fixed in version 0.9.124.
Tipo di vulnerabilità
CWE-74
Injection: elementi speciali non neutralizzati in un output destinato a un altro componente
Il prodotto costruisce in tutto o in parte un comando, una struttura dati o un record con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono cambiare il modo in cui il componente successivo lo interpreta.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
| Controllo degli accessi |
Aggirare i meccanismi di protezione In alcuni casi il codice iniettabile controlla l’autenticazione, il che può tradursi in una vulnerabilità sfruttabile da remoto. |
| Altro |
Alterare la logica di esecuzione |
| Integrità, Altro |
Altro |
| Non ripudio |
Nascondere le proprie attività Spesso le azioni compiute dal codice iniettato non lasciano traccia nei log. |
Come si previene
Requisiti
Programming languages and supporting technologies might be chosen which are not subject to these issues.
Sviluppo
Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.
Tutte le 4.112 CVE di tipo CWE-74, con andamento e prevenzione