Descrizione
Isar is an integration system for automated root filesystem generation. In versions 0.11 and newer, /etc/apt/trusted.gpg.d is created manually during bootstrap setup to be able to deploy local keys. By that, the directory is owned by the calling user (the one that executes Isar) instead of root. If the calling user's id is identical to one of an unprivileged user inside the image, this user is able to alter existing keys and deploy new ones, silently breaking the apt repo integrity protection. The issue is has no impact on those images that use an immutable rootfs, or if apt is never invoked. Changing only the keys does not trigger an exploit, it's just one step in a chain. An attacker would also have to manipulate a remote repo or intercept non-secure communication with it. This issue has been patched via commit 29e84ed.
Tipo di vulnerabilità
CWE-1290
Incorrect Decoding of Security Identifiers
The product implements a decoding mechanism to decode certain bus-transaction signals to security identifiers, but it decodes an untrusted agent's security identifier into a trusted agent's security identifier.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Controllo degli accessi |
Modificare la memoria, Leggere la memoria, Interruzione del servizio: esaurimento di risorse, Eseguire codice o comandi non autorizzati, Ottenere privilegi o assumere un’altra identità, Degradare la qualità |
Come si previene
Architettura e progettazione
Security identifier decoders must be reviewed for design consistency and common weaknesses.
Sviluppo
Access and programming flows must be tested in pre-silicon and post-silicon testing in order to check for this weakness.
Tutte le 1 CVE di tipo CWE-1290, con andamento e prevenzione