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 51,882
    • Issues 51,882
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,580
    • Merge requests 1,580
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • 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
  • #37015
Closed
Open
Issue created Nov 21, 2019 by GitLab SecurityBot@gitlab-securitybotReporter

Issue system notes reveals private project path when it is closed view merge request and moved to a public project

HackerOne report #724880 by ashish_r_padelkar on 2019-10-29, assigned to @jbroullon:

Summary

Hello,

When issue is closed via merge request, the associated merge request ID or commit ID is visible via issue system notes to guest users. The same system note reveals full project path too when this issue is moved to public projects.

Steps to reproduce

  1. Create a issue in private project
  2. Create a merge request for the same.
  3. Merge the merge request so that issue is closed.
  4. A system note in issue is created saying closed via merge request or closed via commit

Screenshot_2019-10-29_at_20.42.29.png
OR
Screenshot_2019-10-29_at_20.42.14.png
5. Same is visible to Guest users in issue(go to issue details) system notes which shouldnt be possible.
6. Now move this issue to public project and the same system notes reveals the full private project path from which this issue is moved from.

What is the current bug behavior?

Issue system notes reveals merge request ID or commit ID, may also reveal full project path when its moved

What is the expected correct behavior?

None of the information related to merge request or commits should be visible

Output of checks

This bug happens on GitLab.com and might be on omnibus installations too. This is verified on Gitlab.com at the time of writing the report.

Regards,
Ashish

Impact

Merge request ID, Commit ID and Project Path visible when issue is closed via merge requests

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

  • Screenshot_2019-10-29_at_20.42.29.png
  • Screenshot_2019-10-29_at_20.42.14.png
Assignee
Assign to
Time tracking