Removed Guest role user who dosent have access to private project in members able to view jobs
A removed guest user could still access job details of a private project via a direct link. This exposed sensitive information such as environment variables and Docker images.
- Triaged in 20 days
- Fixed in 27 days
- Disclosed after 32 days
A removed guest role user, who no longer has access to private projects, is still able to view jobs associated with those projects. This issue indicates a potential security gap where access controls may not be effectively enforced after user removal.
Summary In the scenario where a user with a guest role is removed from a private project, their access should be completely revoked. However, in this case, despite the removal, the user can still view job details associated with the private project. This behavior suggests a flaw in the access control mechanism, allowing unauthorized visibility of sensitive project-related information.
Steps to reproduce 1 Invite a guest role user to a private project through the owner account 2 Through guest role user access the job as raw format
3 After Owner remove him from private project but still the link is accessible to him without having access to private project and that particular team That can disclose him some sensitive info such ( env , sensitive docker images , crtitical information to him )
Mitigations Ensure that the system correctly enforces access controls and revokes all permissions for removed users. This may involve auditing and enhancing the user role management and permission handling processes.
If you have any more more questions Comment on the report
Regards @mrrobot
Impact
As an attacker Removed users gaining access to job details can expose sensitive project data or operational information. This could lead to inadvertent or malicious leakage of internal processes and project specifics.
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 job artifact link remained accessible because access controls were not re-checked after the user was removed from the project.
Impact
A removed user could view sensitive job details such as environment variables and Docker images, potentially leading to information leakage.
What the attacker needed
A GitLab account; guest access to a private project; owner removes the user
The fix
The system should enforce access controls and revoke all permissions for removed users.
How it was found
- Invite a guest role user to a private project through the owner account.
- As the guest user, access the job in raw format via the provided link.
- After the owner removes the user from the private project, the link is still accessible to the removed user.
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.
When someone is removed from a private project, they should lose all access. Here, a removed user could still open a direct link to a job and see sensitive data like environment variables. This is a problem because access controls were not fully enforced after removal.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.