HomePentest-Tools.com Logo

Node.js Systeminformation - Command Injection (CVE-2021-21315)

CVSSv3 Score
Vulnerability description

Node.js server is affected by a Command Injection vulnerability, located in the System Information Library for Node.JS (npm package "systeminformation"), that an unauthenticated attacker can exploit to execute arbitrary commands on the target server. Systeminformation is an open source collection of functions that is used to retrieve hardware, system and OS information. The root cause of this vulnerability consists in insufficient sanitization of the URL.

Risk description

The risk exists that a remote unauthenticated attacker can fully compromise the server in order to steal confidential information, install ransomware or pivot to the internal network.

Exploit capabilities

Sniper can gain unauthenticated Remote Code Execution on the target system and extract multiple artefacts as evidence.


Upgrade the "systeminformation" package to version 5.3.1 or above.

Not available
Detectable with
Network Scanner
Exploitable with Sniper
Vuln date
Feb 2021
Published at
Updated at
Software Type
Web server
Sebastian Hildebrandt
System Information Library for Node.JS