Skip to content
Info disclosure Disclosed report Beginner

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

  1. Subscribe to any public project issue/merge request.
  2. Let anyone comment on the issue or merge request so that you receive an email.
  3. Owner Now makes the project private.
  4. Owner Changes the path of the project.
  5. 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.

The original report as published on GitLab. Images and videos are our own copies; raw HTML is shown as text. View it on GitLab.

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

  1. Subscribe to an issue or merge request on a public project.
  2. Have someone comment so a notification email is sent.
  3. The owner makes the project private.
  4. The owner changes the project path.
  5. 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.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.