RCE in Leagoo P1

CVE-2018-14998

The Leagoo P1 Android device with a build fingerprint of sp7731c_1h10_32v4_bird:6.0/MRA58K/android.20170629.214736:user/release-keys contains a hidden root privilege escalation capability to achieve command execution as the root user. They have made modifications that allow a user with physical access to the device to obtain a root shell via ADB by modifying read-only system properties at runtime. Specifically, modifying the ro.debuggable and the ro.secure system properties to a certain value and then restarting the ADB daemon allows for a root shell to be obtained via ADB.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.007 (50.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Technical Description, Exploit, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2018-14998?
CVE-2018-14998 is a medium-severity vulnerability in Leagoo P1, classified under OS Command Injection. CVSS score: 6.8/10. Published 2018-12-28.
How severe is CVE-2018-14998?
Medium severity. CVSS v3 base score is 6.8 out of 10.