Descrizione
The postinst script in the tomcat6 package before 6.0.45+dfsg-1~deb7u4 on Debian wheezy, before 6.0.35-1ubuntu3.9 on Ubuntu 12.04 LTS and on Ubuntu 14.04 LTS; the tomcat7 package before 7.0.28-4+deb7u8 on Debian wheezy, before 7.0.56-3+deb8u6 on Debian jessie, before 7.0.52-1ubuntu0.8 on Ubuntu 14.04 LTS, and on Ubuntu 12.04 LTS, 16.04 LTS, and 16.10; and the tomcat8 package before 8.0.14-1+deb8u5 on Debian jessie, before 8.0.32-1ubuntu1.3 on Ubuntu 16.04 LTS, before 8.0.37-1ubuntu0.1 on Ubuntu 16.10, and before 8.0.38-2ubuntu1 on Ubuntu 17.04 might allow local users with access to the tomcat account to obtain sensitive information or gain root privileges via a symlink attack on the Catalina localhost directory.
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.865 CVE di tipo CWE-59, con andamento e prevenzione