Descrizione
The ELF image activator cleared per-process ASLR preference flags for setuid binaries after the code that computes the PIE base address, rather than before. As a result, a user-requested ASLR disable was still in effect at the point where the base address was chosen.
An unprivileged local user can disable ASLR for a setuid PIE binary by calling procctl(2) before execve(2). This makes exploitation of any separate memory corruption vulnerability in that binary significantly easier.
Tipo di vulnerabilità
CWE-179
Incorrect Behavior Order: Early Validation
The product validates input before applying protection mechanisms that modify the input.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi, Integrità |
Aggirare i meccanismi di protezione, Eseguire codice o comandi non autorizzati |
Come si previene
Sviluppo · Validazione dell’input
Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
Tutte le 8 CVE di tipo CWE-179, con andamento e prevenzione