Descrizione
Insertion of sensitive information into a log file in the SMTP server of Progressive Robot hMailServer 6.0.0 through 6.3.6 allows a local user who can read the server's log, or anyone given a copy of it, to obtain credentials. With SMTP logging enabled, the server hid the credential of an AUTH PLAIN command only when it was sent after EHLO in one exact form, and wrote the rest of the SASL exchange as the client sent it: a PLAIN password sent before EHLO or with extra spacing, the OAuth 2.0 bearer token of AUTH XOAUTH2 and AUTH OAUTHBEARER (from 6.2.0), the SCRAM-SHA-256 client proof (from 6.2.0), which with the logged salt and iteration count allows offline password guessing, and the GSSAPI authenticator (from 6.3.2). SMTP logging is off by default; on Windows before 6.3.6 the log folder was readable by every local user.
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.335 CVE di tipo CWE-532, con andamento e prevenzione