SB2020021406 - Command Injection in promise-probe wrapper for FFprobe
Published: February 14, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) OS Command Injection (CVE-ID: CVE-2019-10791)
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation within the "ffprobe"(file) and "createMuteOgg"(outputFile, options) functions. A remote unauthenticated attacker can execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
PoC:
var root = require("promise-probe");
root.ffprobe("& touch JHU");
root.createMuteOgg("123",{seconds:"& touch JHU &"});
root.createMuteOgg("& touch JHU",{});
Remediation
Install update from vendor's website.