Persistent Code Execution and Privilege Escalation via Disabled dm-verity in OxygenOS

Persistent Code Execution and Privilege Escalation via Disabled dm-verity in OxygenOS

CVE-2017-5624 · HIGH Severity

AV:N/AC:L/AU:N/C:C/I:C/A:C

An issue was discovered in OxygenOS before 4.0.3 for OnePlus 3 and 3T. The attacker can persistently make the (locked) bootloader start the platform with dm-verity disabled, by issuing the 'fastboot oem disable_dm_verity' command. Having dm-verity disabled, the kernel will not verify the system partition (and any other dm-verity protected partition), which may allow for persistent code execution and privilege escalation.

Learn more about our Web Application Penetration Testing UK.