New project path disclosure through unsubscribe link of issue/merge requests
An unsubscribe link in issue and merge request notification emails redirected to the project's current path, so when a public project was made private and renamed, the old link revealed the new path. An attacker who kept such an email could learn the new location of a project that had been hidden.
GitLab
Originally disclosed on GitLab
- Fixed in 2 months
- Disclosed after 2 months
HackerOne report #650574 by ashish_r_padelkar on 2019-07-19, assigned to akelly:
Summary
Hello,
When a user is subscribed to any issue/merge request from public project, they get an email with unsubscribe link.
The problem with this link is, it discloses the new path of the project if project goes from public to private when user later navigates to the unsubscribe url.
Steps to reproduce
- Subscribe to any public project issue/merge request.
- Let anyone comment on the issue or merge request so that you receive an email.
- Owner Now makes the project private.
- Owner Changes the path of the project.
- Now visit the unsubscribe link from email. It will navigate to new project path automatically.
What is the current bug behavior?
Discloses the new project path url if project goes from public to private
What is the expected correct behavior?
New project path should not be visible
Output of checks
This bug happens on GitLab.com and might be on omnibus installations too!
Regards,
Ashish
Impact
Discloses new project path when project becomes private.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
The new path of a project that had been made private could be disclosed to anyone still holding an old notification email.
What the attacker needed
A notification email from a public project; project later made private and renamed
How it was found
- Subscribe to an issue or merge request on a public project.
- Have someone comment so a notification email is sent.
- The owner makes the project private.
- The owner changes the project path.
- Open the unsubscribe link from the email and observe it goes to the new path.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you follow a project on a code hosting site, you get emails with a link to stop following it. That link still pointed at the project, and after the project was made private and renamed, it sent the visitor to the new name. So someone holding an old email could find out where a now-private project had moved.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.