HomePentest-Tools.com Logo

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

CVSSv3 Score
Exploitable with Sniper
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.

Exploit capabilities

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

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.


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

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