Skip to content
Info disclosure Disclosed report Beginner

Confidential issues & other sensitive information of the gitlab-org group leaking due to the feed token exposure of a gitlab employee.

A GitLab employee accidentally exposed their feed token in a public merge request note. An attacker could use this token to access confidential issues and private group information in the gitlab-org group.

GitLab

Originally disclosed on GitLab

  • Fixed in 4 days
  • Disclosed after 4 days

HackerOne report #1622423 by albatraoz on 2022-07-01, assigned to @galfaro2:

Report | How To Reproduce

Report

Summary

A feed token is like an access token tied to a gitlab account & their authorization to access rss feeds. A merge request note is leaking a feed token of a gitlab employee who has developer access to the gitlab-org group & maybe other private internal groups too.

Steps to reproduce
  1. Visit https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36553#note_384124309 & you can see that the gitlab employee is leaking their feed token REDACTED in the notes.

  2. Now visit the following URL in a new tab:

https://gitlab.com/groups/gitlab-org/-/issues.atom?confidential=true  

You'd see that it returns no information as you are not a member of gitlab-org group.

  1. Now visit the same URL with the leaked feed token as follows:
https://gitlab.com/groups/gitlab-org/-/issues.atom?confidential=true&feed_token=REDACTED  

You can see all the confidential issues of the gitlab-org leaking.

  1. You can access other private group issues/information too.
https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues.atom?feed_token=REDACTED  

Impact

The impact is huge as using this token(which never expires) an attacker can snoop into confidential issues to find loopholes before they are patched to exploit it in the wild. Also a lot of sensitive information of the gitlab owned private & public repositories is being exposed.

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

Root cause

Likely, a GitLab employee accidentally included their feed token in a public merge request note.

Impact

An attacker could read confidential issues and sensitive information from private groups, potentially finding vulnerabilities before they are patched.

What the attacker needed

Leaked feed token; no account needed

How it was found

  1. Visit the merge request note where the token is exposed.
  2. Try to access the confidential issues feed without the token and see it is denied.
  3. Access the same feed with the leaked token and see confidential issues.
  4. Access other private group issues using the same token.

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.

A feed token is like a password that lets someone read private updates from a GitLab account. Here, an employee posted their token publicly, so anyone could use it to see private issues that were meant to be hidden.

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.