Path traversal in serve - #VU18599

 

Path traversal in serve - #VU18599

Published: May 24, 2019 / Updated: May 27, 2019


Vulnerability identifier: #VU18599
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: N/A
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Zeit
Affected software:
serve

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to improper input validation of user-supplied data passed via URI. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Example:

http://[host]/public/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd

Remediation

Install updates from vendor's website.

Sources