Skip to content

Remote command execution #5469

@5alt

Description

@5alt
  • Gogs version (or commit ref): newest(3a4c981)
  • Can you reproduce the bug at https://try.gogs.io:
    • [ x] Yes (provide example URL)
    • No
    • Not relevant

Description

I can login to arbitrary account. And when I logged in as admin, I can execute any command by git hooks.

I just tried login to Unknown's account but do not perform command execution.

gogs_admin_en

gogs_admin4_en

As this is a very severe issue, I won't post details here.

@unknwon can you give me your email address and I send the details to you?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions