Command Injection

Affecting adb-driver package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

adb-driver is a Universal Android USB Driver.

Affected versions of this package are vulnerable to Command Injection. The argument command can be controlled by users without any sanitization.

PoC

var root = require("adb-driver");
root.execADBCommand(' & touch Song');

the injection point is located in line 26 of index file “build/AdbDriver.js”

Remediation

There is no fixed version for adb-driver.

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    Low
  • Availability
    None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:O/RC:C
Credit
JHU System Security Lab
CVE
CVE-2020-7636
CWE
CWE-74
Snyk ID
SNYK-JS-ADBDRIVER-564430
Disclosed
05 Apr, 2020
Published
05 Apr, 2020