A profile page of a user can be denied from loading by appending .html to the username

Disclosed: 2021-08-30 11:02:43 By maruthi12 To gitlab
Low
Vulnerability Details
**Summary:** I was able to create a user with the username "dashboard.html". Once, the account is set up, when the user clicks on his profile, the actual dashboard will show up instead of his profile page. Same can be done for all the HTML pages in GitLab. ## Steps To Reproduce: 1. Register a new user with "some_html_page_in_gitlab.html" 1. After logging in. click on the profile tab, it will be redirected to the dashboard page. 1. I even tried the username "profile.html", it is getting directed to the profile tab. ## Impact The major impact here I can think of is that a user can hide his profile from the public just by having a clowny username.
Actions
View on HackerOne
Report Stats
  • Report ID: 475098
  • State: Closed
  • Substate: resolved
  • Upvotes: 26
Share this report