#VU28103 OS Command Injection in node-rules


Published: 2020-05-20 | Updated: 2020-05-20

Vulnerability identifier: #VU28103

Vulnerability risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
node-rules
Web applications / Modules and components for CMS

Vendor: Mithun Satheesh

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to the application does not properly sanitize input rules and passes it directly to an eval call when using the fromJSON function. A remote attacker can send a specially crafted request to the application and execute arbitrary code in the system if the rules are user-controlled.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Update to version 5.0.0.

Vulnerable software versions

node-rules: 0.1.0 - 4.0.2


External links
http://www.npmjs.com/advisories/1499


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability