Skip to content

DoS on wiki page: uneditable pages

HackerOne report #907260 by yvvdwf on 2020-06-24:

Dear team,

I found a similar bug as the one in being reported here with the same impact: once being created, the page cannot be modified or deleted via website's interface.

Steps to reproduce

  1. Create a new wiki page.
  2. In the Title filed, fill ~/test
  3. Content can be anything
  4. Click Create page button

The page being created has the path var/opt/gitlab/test (instead of ~/test). The page cannot be neither modified, nor deleted via web's interface.

Impact

What is the current bug behavior?

The tile character ~ is translated into /var/opt/gitlab

What is the expected correct behavior?

The tile character should not be translated

Output of checks

This bug happens on GitLab.com

Impact

Once being created, the wiki page cannot be neither modified, nor deleted via web's interface.

Todo

Edited by Markus Koller