Banned User Can Leak Issue Title Through Markdown
A banned user could still see the title of a private issue by hovering over a cross-reference link in a wiki page they controlled. This allowed enumeration of issue titles from private projects.
GitLab
Originally disclosed on GitLab
- Fixed in 4 months
- Disclosed after 4 months
⚠️ Please read the process on how to fix security issues before starting to work on the issue. Vulnerabilities must be fixed in a security mirror.
HackerOne report #3086440 by rogerace on 2025-04-10, assigned to @katwu:
Report | How To Reproduce
Report
Summary
Hope this report finds you well.
A banned user can take use of cross-reference in Markdown to leak Issue Title. Note this is not a duplicate of my report #3083652 since this report is about Banned User and that report is about IP Restricted User. But I am not sure whether this report also dups #2977149 like #3083652 did, since I cannot see the title or the content of report #2977149.
Steps to reproduce
This works for both self-managed gitlab and gitlab.com
- In a private group, make it has at least two members, one Owner and one Guest.
- Using the Owner, create a private project, and create an issue in the project.
- Using the Guest, create a separate private group. Since this new group is created by the Guest, the Guest is the owner of this new group. Make sure this group is ultimate or ultimate trial.
- In this new group created by the Guest, create a new Wiki in
Plan->Wiki. - Choose the format as
Markdown, and paste in the content like below. ==You need to change the url link to your own issue's url link.==
[issue leak](https://gitlab.com/common2754410/test/-/issues/2)
- Save the wiki. Move your mouse on
issue leakto hover on it, and you can see the issue title. - In the original private group where the issue is created, use the owner account, go to group member setting, and Ban the Guest user.
- Go back to victim-created group and its wiki page in step 6, refresh, and you can still see the issue title if you hover on it.
Note:
- This is not caused by cache. You can use another browser, and login to the Guest account, and go to the wiki page, and you can still see the issue title.
- This works for all issues since the issue id is simply enumerable, so the attacker can simply enumerate all issue ids from 1 to, say, 100, and get all issue titles.
- If for any reasons you found you could not reproduce, and if it is convenient for you, you can give me your gitlab.com account email, and I will invite you to my groups so that you can reproduce it using my groups.
Impact
Low in Conf since it leaks issue titles, which often contain sensitive information like vulnerabilities or bugs.
Thanks for reviewing my report!
Best,
Rogerace
How To Reproduce
Please add reproducibility information to this section:
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 cross-reference preview feature did not re-check the user's current access permissions after they were banned, so it still displayed the issue title.
Impact
A banned user could enumerate and read titles of private issues, which may contain sensitive information.
What the attacker needed
Attacker is a Guest in a private group; attacker can create a private group with Ultimate features; victim has a private project with issues
How it was found
- Create a private group with an Owner and a Guest member.
- As the Owner, create a private project and an issue in it.
- As the Guest, create a separate private group (making the Guest the owner) and ensure it has Ultimate features.
- In that new group, create a wiki page in Markdown format with a link to the private issue.
- Hover over the link to see the issue title.
- Ban the Guest from the original private group, then refresh the wiki page and hover again to still see the title.
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 link to another page in Markdown, some systems show a preview of that page's title when you hover. Here, a user who had been banned from a private group could still create a wiki page with such a link and see the private issue's title. This means the ban did not stop them from learning sensitive information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.