Skip to content
Info disclosure Disclosed report Beginner

Release Description visible in public projects despite release set as project members only through atom response

A project's release descriptions were meant to be visible only to project members, but the tags Atom feed exposed them to unauthenticated users. An attacker could read sensitive release notes from a public project without logging in.

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 #2079374 by ashish_r_padelkar on 2023-07-21, assigned to GitLab Team:

Report | How To Reproduce

Report

Summary

Hello,

I reported similar issue here #1824226 which is fixed few months back and i see similar issue exists at different endpoint too.

Releases can be restricted for Only Project Members in project settings. This should ensure that no release information is visible outside team members.
However, anyone can see release Description in public projects through tags endpoint /-/tags?format=atom at https://gitlab.com/<Namespace>/<projectName>/-/tags?format=atom even when releases are set as project members only.

Steps to reproduce

1.As a project owner, set your project as public with Releases as Only Project Members at https://gitlab.com/<NameSpace>/<ProjectName>/edit#js-general-project-settings.

2.Now create a Release at https://gitlab.com/<NameSpace>/<ProjectName>/-/releases. Put something important within Description field for eg THIS_IS_IMPORTANT_RELEASE_DESCRIPTION.

3.Access the https://gitlab.com/<NameSpace>/<ProjectName>/-/releases without authentication but you will get 404 as Release is only visible for Team members.

4.Now visit https://gitlab.com/<NameSpace>/<ProjectName>/-/tags but you will see Tags but no release information here too.

5.Now append ?format=atom to the end of above URL. For eg https://gitlab.com/<NameSpace>/<ProjectName>/-/tags?format=atom. In response, you should see Release Description THIS_IS_IMPORTANT_RELEASE_DESCRIPTION which you shouldnt!.

Examples

You can visit my test project at https://gitlab.com/groupjulypremium2023/project_july2023/-/tags. You will see tags but no release information.

Now visit https://gitlab.com/groupjulypremium2023/project_july2023/-/tags?format=atom and you should find Release_1234 in response which is description of one of my release which you shouldnt see.

What is the current bug behavior?

Release Description are disclosed in tag atom response endpoint despite release set as project members only.

What is the expected correct behavior?

Release Description should not be visible for unauthenticated users when they are set as only project members

Output of checks

This bug happens on GitLab.com GitLab Enterprise Edition 16.3.0-pre f7d52011546

Regards,
Ashish

Impact

Release Description visible in public projects despite release set as project members only

How To Reproduce

Please add reproducibility information to this section:

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 the Atom feed for tags did not apply the same release visibility check as the normal tags page.

Impact

Release descriptions that should be restricted to project members could be read by anyone, including unauthenticated users.

What the attacker needed

Public project; releases set to project members only; no account needed

How it was found

  1. As a project owner, set the project public and releases to 'Only Project Members'.
  2. Create a release with a sensitive description.
  3. Visit the releases page without authentication and confirm it returns 404.
  4. Visit the tags page and confirm no release information is shown.
  5. Append '?format=atom' to the tags URL and observe the release description in the response.

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 project can be public, but its release notes can be restricted to members only. The tags page normally hides those notes, but its Atom feed (a machine-readable version of the page) still included them, so anyone could read them without an account.

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.