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

CVE-2018-15004

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

Descrizione

The Coolpad Canvas device with a build fingerprint of Coolpad/cp3636a/cp3636a:7.0/NRD90M/093031423:user/release-keys contains a platform app with a package name of com.qualcomm.qti.modemtestmode (versionCode=24, versionName=7.0) that contains an exported service app component named com.qualcomm.qti.modemtestmode.MbnTestService that allows any app on the device to set certain system properties as the com.android.phone user. When an app sets the persist.service.logr.enable system property to a value of 1, an app with a package name of com.yulong.logredirect (versionCode=20160622, versionName=5.25_20160622_01) will start writing the system-wide logcat log, kernel log, and a tcpdump network traffic capture to external storage. Furthermore, on the Coolpad Canvas device, the com.android.phone app writes the destination phone number and body of the text message for outgoing text messages. A notification when logging can be avoided if the log is enabled after device startup and disabled prior to device shutdown by setting the system properties using the exported interface of the com.qualcomm.qti.modemtestmode app. Any app with the READ_EXTERNAL_STORAGE permission can access the log files.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
coolpad canvas firmware 7.0 –

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

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