Skip to content
Info disclosure Disclosed report Beginner

User's activity-related personal information are exposed in API event response even enabled private profile

A user who had enabled the private profile setting still had their activity data returned by the public events API endpoint. An attacker could query that endpoint by user ID and read activity-related personal information that the profile setting was meant to hide.

GitLab

Originally disclosed on GitLab

  • Fixed in 21 months
  • Disclosed after 21 months
Link:          https://hackerone.com/reports/417725
By:            @ngalog

Details: Docs link: https://gitlab.com/help/user/profile/index.md#private-profile

PoC:

Impact

User's activity-related personal information are exposed in API event response even enabled private profile

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 events API endpoint did not check the target user's private-profile setting before returning activity data, while the web profile page did.

What the attacker needed

Victim has private profile enabled; attacker knows the victim's user ID

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 user can choose to keep their profile private, which should hide things like their recent activity. Here, the website's normal page respected that choice, but a separate machine-readable endpoint (an API) still handed out the activity to anyone who asked. So the privacy switch only worked on one of the two ways of viewing the same data.

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.