Arbitrary Command Injection

Affecting samsung-remote package, versions <1.3.5

Do your applications use this vulnerable package? Test your applications

Overview

samsung-remote is a Module for integration of Samsung SmartTV with your NodeJS application. Tested with Samsung D6000 TV.

Affected versions of this package are vulnerable to Arbitrary Command Injection due to not sanitizing the IP address argument, and subsequently passes it to child_process.exec().

Remediation

Uograde samsung-remote to version 1.3.5 or higher.

References

CVSS Score

10.0
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Changed
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Credit
Douglas Hall
CWE
CWE-264
Snyk ID
SNYK-JS-SAMSUNGREMOTE-72278
Disclosed
02 Sep, 2018
Published
05 Sep, 2018