Descrizione
The Vivo V7 Android device with a build fingerprint of vivo/1718/1718:7.1.2/N2G47H/compil11021857:user/release-keys contains a platform app with a package name of com.vivo.bsptest (versionCode=1, versionName=1.0) containing an exported activity app component named com.vivo.bsptest.BSPTestActivity that allows any app co-located on the device to initiate the writing of the logcat log, bluetooth log, and kernel log to external storage. When logging is enabled, there is a notification in the status bar, so it is not completely transparent to the user. The user can cancel the logging, but it can be re-enabled since the app with a package name of com.vivo.bsptest cannot be disabled. The writing of these logs can be initiated by an app co-located on the device, although the READ_EXTERNAL_STORAGE permission is necessary to for an app to access the log files.
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.316 CVE di tipo CWE-532, con andamento e prevenzione