Skip to content

Insecure raw url handler #1

@pisemsky

Description

@pisemsky

Because pb-id is url-decoded and directly used to construct file path,
it is possible to read some stuff outside data directory, for example:

http://localhost:8080/raw/..%2FREADME.md

This example assumes that data directory is in the root of repository.

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