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

    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 ID SNYK-JS-SYSTEMINFORMATION-1078290
  • published 4 Mar 2021
  • disclosed 22 Feb 2021
  • credit huntr-helper

Introduced: 22 Feb 2021

CVE NOT AVAILABLE CWE-918 Open this link 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
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None