Exposed gitlab repo at https://adammanco.mtn.com/api/v4/projects
A GitLab projects API endpoint returned project metadata, including repository URLs and owner names, without authentication, an information disclosure.
Originally disclosed on HackerOne
- Triaged in 54 days
- Fixed in 10 months
- Disclosed after 11 months
Summary:
Hello I found Exposed gitlab repo at https://adammanco.mtn.com/api/v4/projects
Steps To Reproduce:
Visit https://adammanco.mtn.com/api/v4/projects
Supporting Material/References:
[{"id":5,"description":"","name":"test","name_with_namespace":"Jodrico Jansen Van Vuuren / test","path":"test","path_with_namespace":"jodricoj/test","created_at":"2021-06-15T00:26:18.149Z","default_branch":"master","tag_list":[],"ssh_url_to_repo":"[email protected]:jodricoj/test.git","http_url_to_repo":"https://adammanco.mtn.com/jodricoj/test.git","web_url":"https://adammanco.mtn.com/jodricoj/test","readme_url":"https://adammanco.mtn.com/jodricoj/test/-/blob/master/README.md","avatar_url":null,"forks_count":0,"star_count":0,"last_activity_at":"2021-08-31T08:53:24.964Z","namespace":{"id":5,"name":"Jodrico Jansen Van Vuuren","path":"jodricoj","kind":"user","full_path":"jodricoj","parent_id":null,"avatar_url":"https://secure.gravatar.com/avatar/2cf402b5d9e6b968e1a07c72a60b8f5e?s=80\u0026d=identicon","web_url":"https://adammanco.mtn.com/jodricoj"}}]```
## Impact
information disclosure
Regard
@aliyugombe
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 GitLab projects API endpoint was left publicly accessible without requiring authentication.
Impact
An unauthenticated visitor could view project metadata such as repository URLs and owner names, an information disclosure.
What the attacker needed
No authentication needed
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.
GitLab is a service for storing and managing source code. Its API normally requires a login token, but here anyone could simply open a web address and receive a list of projects, including repository links and the names of their owners. That leaks information that should have stayed private.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.