Server-side Request Forgery (SSRF) Affecting systeminformation package, versions <5.3.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

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 Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SYSTEMINFORMATION-1078290
  • published4 Mar 2021
  • disclosed22 Feb 2021
  • credithuntr-helper

Introduced: 22 Feb 2021

CVE NOT AVAILABLE CWE-918  (opens in a new tab)

How to fix?

Upgrade systeminformation to version 5.3.4 or higher.

Overview

systeminformation is a simple system and OS information library.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the sanitizeShellString function due to not sanitising @ properly.

PoC

const si = require('systeminformation');
si.inetChecksite("https://effectrenan.com@google.com").then(a => { console.log(a) });

CVSS Scores

version 3.1