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

CVE-2009-5023

4.7 Gravità media CVSS v2.0 · fonte NVD AV:L/AC:M/Au:N/C:N/I:C/A:N 4.7 – Media

Descrizione

The (1) dshield.conf, (2) mail-buffered.conf, (3) mynetwatchman.conf, and (4) mynetwatchman.conf actions in action.d/ in Fail2ban before 0.8.5 allows local users to write to arbitrary files via a symlink attack on temporary files with predictable names, as demonstrated by /tmp/fail2ban-mail.txt.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fail2ban fail2ban <= 0.8.4 –
fail2ban fail2ban 0.1.0 –
fail2ban fail2ban 0.1.1 –
fail2ban fail2ban 0.1.2 –
fail2ban fail2ban 0.3.0 –
fail2ban fail2ban 0.3.1 –
fail2ban fail2ban 0.4.0 –
fail2ban fail2ban 0.4.1 –
fail2ban fail2ban 0.5.0 –
fail2ban fail2ban 0.5.1 –
fail2ban fail2ban 0.5.2 –
fail2ban fail2ban 0.5.3 –
fail2ban fail2ban 0.5.4 –
fail2ban fail2ban 0.5.5 –
fail2ban fail2ban 0.6.0 –
fail2ban fail2ban 0.6.1 –
fail2ban fail2ban 0.7.0 –
fail2ban fail2ban 0.7.1 –
fail2ban fail2ban 0.7.2 –
fail2ban fail2ban 0.7.3 –
fail2ban fail2ban 0.7.4 –
fail2ban fail2ban 0.7.5 –
fail2ban fail2ban 0.7.6 –
fail2ban fail2ban 0.7.7 –
fail2ban fail2ban 0.7.8 –
fail2ban fail2ban 0.7.9 –
fail2ban fail2ban 0.8.0 –
fail2ban fail2ban 0.8.1 –
fail2ban fail2ban 0.8.2 –
fail2ban fail2ban 0.8.3 –
Tutte le 10 vulnerabilità di Fail2ban

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.869 CVE di tipo CWE-59, con andamento e prevenzione

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