#VU31287 Path traversal in serve


Published: 2018-06-07 | Updated: 2020-07-17

Vulnerability identifier: #VU31287

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-3712

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 authenticated user to gain access to sensitive information.

serve node module before 6.4.9 suffers from a Path Traversal vulnerability due to not handling %2e (.) and %2f (/) and allowing them in paths, which allows a malicious user to view the contents of any directory with known path.

Mitigation
Install update from vendor's website.

Vulnerable software versions

serve: 6.4.0 - 6.4.8


External links
http://github.com/zeit/serve/pull/316
http://hackerone.com/reports/307666


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability