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.
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
| Ambito | Impatto |
| 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