1. Archivio CVE
  2. 2024
  3. CVE-2024-47822

CVE-2024-47822

4.2 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N 4.2 – Media

Descrizione

Directus is a real-time API and App dashboard for managing SQL database content. Access tokens from query strings are not redacted and are potentially exposed in system logs which may be persisted. The access token in `req.query` is not redacted when the `LOG_STYLE` is set to `raw`. If these logs are not properly sanitized or protected, an attacker with access to it can potentially gain administrative control, leading to unauthorized data access and manipulation. This impacts systems where the `LOG_STYLE` is set to `raw`. The `access_token` in the query could potentially be a long-lived static token. Users with impacted systems should rotate their static tokens if they were provided using query string. This vulnerability has been patched in release version 10.13.2 and subsequent releases as well. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
monospace directus < 10.13.2 node.js
Tutte le 57 vulnerabilità di Monospace Directus

Tipo di vulnerabilità

CWE-532 Informazioni sensibili scritte nei file di log

Il prodotto scrive informazioni sensibili in un file di log.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Registrare nei log dati sensibili degli utenti, percorsi completi o informazioni di sistema offre spesso all’attaccante una via in più, e meno protetta, per ottenerli.

Come si previene

Architettura e progettazione · Sviluppo Valuta con attenzione la sensibilità delle informazioni scritte nei file di log. Non scrivere mai segreti nei log.
Distribuzione Elimina i file di log di debug prima di mettere l’applicazione in produzione.
Esercizio Proteggi i file di log da letture e scritture non autorizzate.
Sviluppo Adegua la configurazione quando il software passa dalla modalità di debug alla produzione.

Tutte le 1.328 CVE di tipo CWE-532, con andamento e prevenzione

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