1. Archivio CVE
  2. 2009
  3. CVE-2009-5081

CVE-2009-5081

3.3 Gravità bassa CVSS v2.0 · fonte NVD AV:L/AC:M/Au:N/C:N/I:P/A:P 3.3 – Bassa

Descrizione

The (1) config.guess, (2) contrib/groffer/perl/groffer.pl, and (3) contrib/groffer/perl/roff2.pl scripts in GNU troff (aka groff) 1.21 and earlier use an insufficient number of X characters in the template argument to the tempfile function, which makes it easier for local users to overwrite arbitrary files via a symlink attack on a temporary file, a different vulnerability than CVE-2004-0969.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
gnu groff <= 1.21 –
gnu groff 1.10 –
gnu groff 1.11 –
gnu groff 1.11a –
gnu groff 1.14 –
gnu groff 1.15 –
gnu groff 1.16 –
gnu groff 1.16.1 –
gnu groff 1.17.1 –
gnu groff 1.17.2 –
gnu groff 1.18.1 –
gnu groff 1.19 –
gnu groff 1.19.1 –
gnu groff 1.19.2 –
gnu groff 1.20 –
gnu groff 1.20.1 –
Tutte le 10 vulnerabilità di Gnu Groff

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

AmbitoImpatto
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.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.871 CVE di tipo CWE-59, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org