Skip to content
Info disclosure Disclosed report Beginner

Dependency scanning job info visible despite no access to repository

A GitLab project with pipelines disabled still exposed the dependency scanning job status and artifacts to any logged-in user. An attacker could view job failure details and download artifacts despite lacking repository access.

GitLab

Originally disclosed on GitLab

  • Fixed in 3 months
  • Disclosed after 3 months

HackerOne report #638498 by ashish_r_padelkar on 2019-07-09:

Summary

Hello,

When public project has below settings, none of the pipeline/job info should be visible publicly.

Screenshot_2019-07-10_at_00.48.19.png
Screenshot_2019-07-10_at_00.48.19.png From the original on GitLab

However, Anyone on gitlab can see the Dependency job status and potentially other info which i think should not be visible.

I am not too sure whether Dependency List list should be visible there in the first place. Even if its intentional, i still believe that job info should not be visible like the one below.

Screenshot_2019-07-10_at_00.52.31.png
Screenshot_2019-07-10_at_00.52.31.png From the original on GitLab

Steps to reproduce

  1. Set your project with above settings
  2. Visit the project as any other user and see the dependency list feature from the project menu.
  3. You should see the job failed message along with the link and the artifacts to download.

What is the current bug behavior?

Dependency_scanning job info visible publicly despite no access to pipelines

What is the expected correct behavior?

None of the info related to pipelines should be visible.

Output of checks

This bug happens on GitLab.com and might be on omnibus installations too!

Regards,
Ashish

Impact

Dependency scanning job info visible despite no access to repository

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

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 dependency scanning job information was not covered by the same access controls that hide other pipeline data when pipelines are disabled.

What the attacker needed

A GitLab account; project with pipelines disabled; dependency scanning job exists

How it was found

  1. Set your project with above settings
  2. Visit the project as any other user and see the dependency list feature from the project menu.
  3. You should see the job failed message along with the link and the artifacts to download.

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.

In GitLab, projects can be set to hide pipeline and job information from users who don't have access. However, a specific job called 'Dependency' was still visible to any logged-in user, showing its status and allowing download of its output files. This means someone without permission could see internal build details.

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.