1. Archivio CVE
  2. 2018
  3. CVE-2018-15002

CVE-2018-15002

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

Descrizione

The Vivo V7 device with a build fingerprint of vivo/1718/1718:7.1.2/N2G47H/compil11021857:user/release-keys allows any app co-located on the device to set system properties as the com.android.phone user. The com.qualcomm.qti.modemtestmode app (versionCode=25, versionName=7.1.2) that contains an exported service named com.qualcomm.qti.modemtestmode.MbnTestService that allows any app co-located on the device to provide key-value pairs to set certain system properties. Notably, system properties with the persist.* prefix can be set which will survive a reboot. On the Vivo V7 device, when the persist.sys.input.log property is set to have a value of yes, the user's screen touches be written to the logcat log by the InputDispatcher for all apps. The system-wide logcat log can be obtained from external storage via a different known vulnerability on the device. The READ_EXTERNAL_STORAGE permission is necessary to access the log files containing the user's touch coordinates. With some effort, the user's touch coordinates can be mapped to key presses on a keyboard.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
vivo v7 firmware 7.1.2 –

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

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