1. CVE archive
  2. 2016
  3. CVE-2016-6799

CVE-2016-6799

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

Description

Product: Apache Cordova Android 5.2.2 and earlier. The application calls methods of the Log class. Messages passed to these methods (Log.v(), Log.d(), Log.i(), Log.w(), and Log.e()) are stored in a series of circular buffers on the device. By default, a maximum of four 16 KB rotated logs are kept in addition to the current log. The logged data can be read using Logcat on the device. When using platforms prior to Android 4.1 (Jelly Bean), the log data is not sandboxed per application; any application installed on the device has the capability to read data logged by other applications.

Affected products

VendorProductVersionPlatform
apache cordova <= 5.2.2 android
All 18 Apache Cordova vulnerabilities

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,328 CWE-532 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org