Skip to content

Path traversal in SummaryController allows reading arbitrary .ttl files outside the summaries directory #219

Description

@Michiel-VandeVelde

The datasource name comes directly from the request path and can contain ../, allowing path.join to escape the configured summaries directory and serve arbitrary .ttl files. Resolve the path and reject traversal before opening it.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions