Internal Gitlab Ticket Disclosure via External Slack Channels
A misconfiguration allowed GitLab ticket titles and descriptions to be disclosed by posting links in a shared Slack channel, and the same flaw could expose exception contents from Sentry. An attacker with access to the Slack workspace could enumerate internal ticket information.
Originally disclosed on HackerOne
- Triaged in 3 hours
- Fixed in 4 days
- Paid in 4 days
- Disclosed after 13 days
Summary by the program
@none_of_the_above was able to enumerate GitLab ticket titles and descriptions by posting links in a shared Slack channel. As part of HackerOne's investigation, it was determined that the misconfiguration could also be used to obtain the contents of exceptions from HackerOne's production environment that were captured in Sentry. Limited access to information in these two systems led to the conclusion that this was a high severity vulnerability.
No confidential information or customer information was accessed by @none_of_the_above in their proof of concept of the vulnerability. We'd like to thank @none_of_the_above for their efforts and diligence in disclosing this vulnerability to us.
Summary by the researcher
HackerOne Pentest Team is a group of external hackers who are selected to perform specific engagements on HackerOne. As part of this team, I have access to a Slack Workspace which is used to coordinate engagements and communicate with customers. On July 22nd I replied to a message from another pentester who was reporting a functional bug on the platform. In my reply, I included a Gitlab link with the intention of pointing out that his report was a duplicate of an internal issue which had already been reported by another hacker. I noticed that the link automatically displayed a preview of the internal ticket, which of course, should only be seen by employees. Since Gitlab issue IDs are sequential, I tried iterating the IDs and discovered that I could access partial info from any internal Gitlab issue. The engineering team promptly implemented a fix and even discovered other ways in which this vulnerability may have been abused.
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 the Slack link-preview integration was not restricted to public or authorised GitLab content, so it fetched and displayed internal ticket data.
Impact
An attacker with access to the Slack workspace could enumerate internal GitLab ticket titles and descriptions, and the same misconfiguration could also expose exception contents from Sentry; no confidential or customer information was accessed in the proof of concept.
What the attacker needed
Access to the shared Slack workspace
The fix
The engineering team promptly implemented a fix.
How it was found
- Reply to a message in a shared Slack channel with a GitLab link to an internal ticket.
- Observe that Slack automatically displays a preview of the internal ticket.
- Iterate the sequential GitLab issue IDs to access partial information from other internal issues.
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 paste a link into a chat app like Slack, it often shows a preview of the page. Here, those previews revealed private bug-tracking tickets that only employees should see. Because ticket numbers are predictable, someone could cycle through them to read many internal tickets.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.