Skip to content
Info disclosure Disclosed report Beginner CVE-2022-2185

Unauthorized access

A publicly readable Google Cloud Storage bucket behind about.gitlab.com exposed internal files, including release feeds that listed undisclosed security reports and a JSON file with phone numbers and tokens. An attacker could browse the bucket and read this material without authentication.

megaman_ Follow

Originally disclosed on HackerOne

  • Disclosed after 11 days

Hello Gents, I would like to report an issue where attackers are able to:

  1. List about.gitlab.com GS bucket.
  2. Access all resales through https://about.gitlab.com/all-releases.xml & https://about.gitlab.com/security-releases.xml, which contains undisclosed HackerOne reports.

For Example:

<p>This vulnerability has been discovered internally by the GitLab team.</p> <h2 id="pipeline-subscriptions-trigger-new-pipelines-with-the-wrong-author">Pipeline subscriptions trigger new pipelines with the wrong author</h2> <!-- https://gitlab.com/gitlab-org/security/gitlab/-/issues/642 -->
 <p>A critical issue has been discovered in GitLab affecting all versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 where an authenticated user authorized to import projects could import a maliciously crafted project leading to remote code execution. This is a critical severity issue (<code>CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H</code>, 9.9). It is now mitigated in the latest release and is assigned <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2185">CVE-2022-2185</a>.</p> <p>Thanks <a href="https://hackerone.com/vakzz">vakzz</a>
  1. Access https://about.gitlab.com/mindmap.txt which contains this internal Google Documents link:

https://docs.google.com/document/d/e/2PACX-1vSNzTLkZMqILVYoey4dnSLYdk0Jmsd8pFu7ygLJ57RQ1c8XlZDbzaG45rQMOrDbHRWCQa5LN7DZid8s/pub

I didn't dig in so much , but I was able to edit a document like this one: GitLab_MessageGuide

  1. list All Gitlab Staff full names through https://about.gitlab.com/roulette.json
  2. All JavaScript files using gsutil ls gs://about.gitlab.com/javascripts/, there are many other files too.

Also please take a look at this json file: https://storage.googleapis.com/about.gitlab.com/_nuxt/content/db-0881eaf3.json, it contains phone numbers, tokens, and more than 1000 URLs could be useful for attackers.

Steps to reproduce:

Proof of concept

Impact

Unauthorized access & Information disclosure.

Thanks and have a nice day!

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

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 storage bucket was configured with public read and list permissions, so its contents were served to anyone.

Impact

Anyone could read undisclosed security reports, staff names, phone numbers and tokens, which could help attackers target the company.

What the attacker needed

None

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 storage bucket is a cloud folder a website uses for files. This one could be listed and read by anyone online, exposing internal files and contact details.

What is Info disclosure?

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

More by megaman_

View all

8 more disclosed reports, best first.

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.