1. Archivio CVE
  2. 2023
  3. CVE-2023-6687

CVE-2023-6687

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

Descrizione

An issue was discovered by Elastic whereby Elastic Agent would log a raw event in its own logs at the WARN or ERROR level if ingesting that event to Elasticsearch failed with any 4xx HTTP status code except 409 or 429. Depending on the nature of the event that Elastic Agent attempted to ingest, this could lead to the insertion of sensitive or private information in the Elastic Agent logs. Elastic has released 8.11.3 and 7.17.16 that prevents this issue by limiting these types of logs to DEBUG level logging, which is disabled by default.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
elastic elastic agent >= 7.0.0 < 7.17.16 –
elastic elastic agent >= 8.0.0 < 8.11.3 –
Tutte le 9 vulnerabilità di Elastic Agent

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

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