Skip to content

dest parameter can break gitbucket. #19

@ktanakaj

Description

@ktanakaj

Hi, I found a problem about dest parameter.

This plugin can output specified path by the dest parameter.
However, the plugin can work such as the danger url.
http://example.com/gitbucket/database/backup?dest=./gitbucket.conf

I think it is danger problem because:

  • Gitbucket has writable authority .gitbucket directory on default.
  • If anonymous access is enable, everyone can call the api.
  • Gitbucket path is easily guessable.

I think the plugin need Basic Authentication.

Regards,
Koichi Tanaka

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions