Arbitrary Command Execution and Privilege Escalation in Qualcomm QCMAP Software Suite

Arbitrary Command Execution and Privilege Escalation in Qualcomm QCMAP Software Suite

CVE-2020-25859 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

The QCMAP_CLI utility in the Qualcomm QCMAP software suite prior to versions released in October 2020 uses a system() call without validating the input, while handling a SetGatewayUrl() request. A local attacker with shell access can pass shell metacharacters and run arbitrary commands. If QCMAP_CLI can be run via sudo or setuid, this also allows elevating privileges to root. This version of QCMAP is used in many kinds of networking devices, primarily mobile hotspots and LTE routers.

Learn more about our Mobile App Penetration Testing.