#VU18599 Path traversal in serve
Published: May 24, 2019 / Updated: May 27, 2019
Vulnerability identifier: #VU18599
Vulnerability risk: Medium
CVSSv4.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
Vulnerable software:
serve
serve
Software vendor:
Zeit
Zeit
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.