Skip to content
Access control Disclosed report Intermediate

You Can Still Join Private Group Using SAML Authentication after Admin Disabled SAML

After a group admin disabled SAML SSO, a user could still authenticate via SAML and join the private group as a member. This allowed unauthorised access to a private group despite the admin's intent to disable SAML.

GitLab

Originally disclosed on GitLab

  • Fixed in 26 days
  • Disclosed after 26 days

HackerOne report #482429 by ngalog on 2019-01-19, assigned to estrike:

Summary:
Group Admin could disable or enable SAML SSO after configuring it.

I found that after proper configuration of SAML SSO, even the owner of the group disabled the SAML like in this screenshot, user could still use SAMLSSO to join as member in this group

Steps To Reproduce:

Impact

You Can Still Join Private Group Using SAML Authentication after Admin Disabled SAML

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 SAML authentication check did not verify whether SAML was still enabled for the group before allowing a user to join.

What the attacker needed

SAML SSO previously configured for the group; SAML later disabled by group admin; Attacker has valid SAML credentials

How it was found

  1. Log in to gitlab.com and visit the SAML SSO settings page for the group.
  2. Click the authorize button.
  3. Log in using the test account credentials.
  4. The user is now a member of the private group, even though SAML was disabled.

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.

SAML is a way for companies to let employees log in to other services using their company account. The group owner turned off this login method, but the system still accepted it, so someone could join a private group without permission.

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.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.