Descrizione
A local privilege escalation vulnerability in the zmfixperms helper of Zimbra Collaboration Suite (ZCS) allows the Unix zimbra account to obtain ownership of an attacker-selected root-owned file. The service account can replace a Postfix template entry in /opt/zimbra/common/conf with a symbolic link. A later root permission-repair or affected package-maintenance action performs a nonrecursive chown on that path and follows the link, transferring the referent to zimbra. A security-critical target can then be modified to execute arbitrary commands as root. The attacker cannot invoke the required privileged maintenance action through this flaw alone. ZCS 10.1.0 through 10.1.21 are affected.
Tipo di vulnerabilità
CWE-59
Risoluzione impropria dei collegamenti prima dell’accesso a un file (link following)
Il prodotto accede a un file in base al nome, ma non impedisce che quel nome sia un collegamento (link o scorciatoia) verso una risorsa diversa da quella prevista.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Controllo degli accessi |
Leggere file o cartelle, Modificare file o cartelle, Aggirare i meccanismi di protezione |
| Altro |
Eseguire codice o comandi non autorizzati |
Come si previene
Architettura e progettazione · Separazione dei privilegi
Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.
Tutte le 1.887 CVE di tipo CWE-59, con andamento e prevenzione