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

CVE-2018-15002

4.7 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N 4.7 – Medium

Description

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.

Affected products

VendorProductVersionPlatform
vivo v7 firmware 7.1.2 –

Vulnerability type

CWE-532 Insertion of Sensitive Information into Log File

The product writes sensitive information to a log file.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
Logging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.

How to prevent it

Architecture and Design · Implementation Consider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
Distribution Remove debug log files before deploying the application into production.
Operation Protect log files against unauthorized read/write.
Implementation Adjust configurations appropriately when software is transitioned from a debug state to production.

All 1,339 CWE-532 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org