Skip to content

shieldfy-vulnerability-hub/Command-Injection-expressfs

Repository files navigation

Command Injection @ expressfs

  • module : expressfs
  • version : All
  • severity: high

Installation

docker-compose up --build

Lunch Attack On 'expressfs.cp'

  1. open the browser and enter the following url https://shieldfy.requestcatcher.com/

    NOTE: we will use the previous 'requestcatcher' to catch the request that we will launch from the next step as command injection attack

  2. launch this POST request from postman http://localhost:8000/expressfs.cp

  3. CHECK the requestcatcher tab in the browser you will see the result of command injection attack

Lunch Attack On 'expressfs.rmdir'

  1. open the browser and enter the following url https://shieldfy.requestcatcher.com/

    NOTE: we will use the previous 'requestcatcher' to catch the request that we will launch from the next step as command injection attack

  2. launch this POST request from postman http://localhost:8000/expressfs.rmdir

  3. CHECK the requestcatcher tab in the browser you will see the result of command injection attack

Lunch Attack On 'expressfs.create'

  1. open the browser and enter the following url https://shieldfy.requestcatcher.com/

    NOTE: we will use the previous 'requestcatcher' to catch the request that we will launch from the next step as command injection attack

  2. launch this POST request from postman http://localhost:8000/expressfs.create

  3. CHECK the requestcatcher tab in the browser you will see the result of command injection attack

Lunch Attack On 'expressfs.appendFile'

  1. open the browser and enter the following url https://shieldfy.requestcatcher.com/

    NOTE: we will use the previous 'requestcatcher' to catch the request that we will launch from the next step as command injection attack

  2. launch this POST request from postman http://localhost:8000/expressfs.appendFile

  3. CHECK the requestcatcher tab in the browser you will see the result of command injection attack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published