Node.js Systeminformation - Command Injection (CVE-2021-21315)
- Severity
- CVSSv3 Score
- 7.8
- Exploitable with Sniper
- Yes
- 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.
- Recommendation
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
- Vendor
- Sebastian Hildebrandt
- Product
- System Information Library for Node.JS
- Codename
- Not available