Skip to content

Directory Traversal #4

@JacksonGL

Description

@JacksonGL

Thanks for creating this package.

I found a directory traversal issue, which can be fixed by adding some filtering on the requested url path. To exploit the vulnerability, I can just send a web request say: http://localhost:9090/../../../passwd to retrieve (sensitive) file outside the working directory on the hosting server.

Notice: the above url does not work with wget or a browser. Try it by using http.get in a Node.js program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions