Vulnerability identifier: #VU18599
Vulnerability risk: Medium
CVSSv4.0: 7.7 [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: Network
Exploit availability: No
Vulnerable software:
serve
Web applications /
JS libraries
Vendor: 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
Mitigation
Install updates from vendor's website.
Vulnerable software versions
serve: 0.1.0 - 10.1.2
External links
https://hackerone.com/reports/510043
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.