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

CVE-2018-6599

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

Description

An issue was discovered on Orbic Wonder Orbic/RC555L/RC555L:7.1.2/N2G47H/329100b:user/release-keys devices, allowing attackers to obtain sensitive information (such as text-message content) by reading a copy of the Android log on the SD card. The system-wide Android logs are not directly available to third-party apps since they tend to contain sensitive data. Third-party apps can read from the log but only the log messages that the app itself has written. Certain apps can leak data to the Android log due to not sanitizing log messages, which is in an insecure programming practice. Pre-installed system apps and apps that are signed with the framework key can read from the system-wide Android log. We found a pre-installed app on the Orbic Wonder that when started via an Intent will write the Android log to the SD card, also known as external storage, via com.ckt.mmitest.MmiMainActivity. Any app that requests the READ_EXTERNAL_STORAGE permission can read from the SD card. Therefore, a local app on the device can quickly start a specific component in the pre-installed system app to have the Android log written to the SD card. Therefore, any app co-located on the device with the READ_EXTERNAL_STORAGE permission can obtain the data contained within the Android log and continually monitor it and mine the log for relevant data. In addition, the default messaging app (com.android.mms) writes the body of sent and received text messages to the Android log, as well as the recipient phone number for sent text messages and the sending phone number for received text messages. In addition, any call data contains phone numbers for sent and received calls.

Affected products

VendorProductVersionPlatform
orbic wonder rc555l firmware 7.1 –
orbic wonder rc555l 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