Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 54.9k
    • Issues 54.9k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1.5k
    • Merge requests 1.5k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #27231
Closed
Open
Issue created Mar 09, 2019 by GitLab SecurityBot@gitlab-securitybotReporter

Incomplete handling of account deletion

HackerOne report #503823 by brdoors3 on 2019-03-01, assigned to asaba:

Hi team,

I noticed an access control issue related to deleting an account at https://gitlab.com

POC

1 access https://gitlab.com/profile/account > delete account

When the user owns a group, the following message is displayed:

2 access this group and delete
3 back to https://gitlab.com/profile/account > delete account

The delete account button is now available

4 in another tab access https://gitlab.com/dashboard/groups > create a new group
5 back to the step 3 tab > confirm the account password

Response: Account scheduled to removal

Impact

The message is incorrect for the two possible scenarios:

  • if the account is actually deleted > this should not be possible because there is a group where the user is the owner
  • if the account is not deleted > the message should not be returned
Edited Mar 09, 2019 by Antony Saba
Assignee
Assign to
Time tracking