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

CVE-2018-11259

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

Description

Due to Improper Access Control of NAND-based EFS in Snapdragon Automobile, Snapdragon Mobile and Snapdragon Wear, From fastboot on a NAND-based device, the EFS partition can be erased. Apps processor then has non-secure world full read/write access to the partition until the modem boots and configures the EFS partition addresses in its MPU partition.

Affected products

VendorProductVersionPlatform
qualcomm mdm9206 firmware all –
qualcomm mdm9607 firmware all –
qualcomm mdm9635m firmware all –
qualcomm mdm9640 firmware all –
qualcomm mdm9650 firmware all –
qualcomm mdm9655 firmware all –
qualcomm msm8909w firmware all –
qualcomm msm8996au firmware all –
qualcomm sd 205 firmware all –
qualcomm sd 210 firmware all –
qualcomm sd 212 firmware all –
qualcomm sd 410 firmware all –
qualcomm sd 412 firmware all –
qualcomm sd 415 firmware all –
qualcomm sd 425 firmware all –
qualcomm sd 427 firmware all –
qualcomm sd 430 firmware all –
qualcomm sd 435 firmware all –
qualcomm sd 450 firmware all –
qualcomm sd 615 firmware all –
qualcomm sd 616 firmware all –
qualcomm sd 617 firmware all –
qualcomm sd 625 firmware all –
qualcomm sd 650 firmware all –
qualcomm sd 652 firmware all –
qualcomm sd 800 firmware all –
qualcomm sd 810 firmware all –
qualcomm sd 820 firmware all –
qualcomm sd 820a firmware all –
qualcomm sd 835 firmware all –
qualcomm sd 845 firmware all –
qualcomm sd 850 firmware all –
qualcomm sdm630 firmware all –
qualcomm sdm632 firmware all –
qualcomm sdm636 firmware all –
qualcomm sdm660 firmware all –
qualcomm sdx20 firmware all –
qualcomm snapdragon high med 2016 firmware all –
All 163 Qualcomm Sd 800 Firmware vulnerabilities

Vulnerability type

CWE-732 Incorrect Permission Assignment for Critical Resource

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

Impact on systems

ScopeImpact
Confidentiality Read Application Data, Read Files or Directories
An attacker may be able to read sensitive information from the associated resource, such as credentials or configuration information stored in a file.
Access Control Gain Privileges or Assume Identity
An attacker may be able to modify critical properties of the associated resource to gain privileges, such as replacing a world-writable executable with a Trojan horse.
Integrity, Other Modify Application Data, Other
An attacker may be able to destroy or corrupt critical data in the associated resource, such as deletion of records from a database. For example, consider a misconfigured storage account for the cloud that can be read or written by a public or anonymous user.

How to prevent it

Implementation When using a critical resource such as a configuration file, check to see if the resource has insecure permissions (such as being modifiable by any regular user), and generate an error or even exit the software if there is a possibility that the resource could have been modified by an unauthorized party.
Architecture and Design Divide the software into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully defining distinct user groups, privileges, and/or roles. Map these against data, functionality, and the related resources. Then set the permissions accordingly. This will allow you to maintain more fine-grained control over your resources.
Architecture and Design · Operation · Sandbox or Jail Run the code in a jail or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software. OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For example, java.io.FilePermission in the Java SecurityManager allows the software to specify restrictions on file operations. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of the application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
Implementation · Installation During program startup, explicitly set the default permissions or umask to the most restrictive setting possible. Also set the appropriate permissions during program installation. This will prevent you from inheriting insecure permissions from any user who installs or runs the program.
System Configuration For all configuration files, executables, and libraries, make sure that they are only readable and writable by the software's administrator.
Documentation Do not suggest insecure configuration changes in documentation, especially if those configurations can extend to resources and other programs that are outside the scope of the application.
Installation Do not assume that a system administrator will manually change the configuration to the settings that are recommended in the software's manual.
Operation · System Configuration · Environment Hardening Ensure that the software runs properly under the United States Government Configuration Baseline (USGCB) or an equivalent hardening configuration guide, which many organizations use to limit the attack surface and potential risk of deployed software.

All 1,777 CWE-732 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org