SCIM token is still Viewable After Creation
The SCIM token for a group was supposed to be hidden after creation or reset, but an endpoint disclosed its value. An attacker with admin access to the group could retrieve the token, though the report does not specify further exploitation.
GitLab
Originally disclosed on GitLab
- Fixed in 2.5 years
- Disclosed after 2.5 years
HackerOne report #565884 by ngalog on 2019-05-04, assigned to hackerjuan:
Summary
SCIM token of the group should be hidden once it's reset/create. But I found one endpoint is disclosing it's value.
Steps to reproduce
- As the admin of the group, issue below request with your gold sub group, with SCIM enabled
GET /groups/REPLACE_ME_GROUP_PATH/-/scim_oauth HTTP/1.1
Host: gitlab.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:66.0) Gecko/20100101 Firefox/66.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Cookie: REPLACEME
X-Requested-With: XMLHttpRequest
Connection: close
Upgrade-Insecure-Requests: 1

Impact
SCIM is still viewable after generation/reset
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
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
Impact
The SCIM token remains viewable after generation or reset, potentially allowing an attacker with admin access to obtain the token.
What the attacker needed
Admin access to the group; SCIM enabled on the group
How it was found
- As the admin of the group, issue a GET request to the SCIM OAuth endpoint for the group with SCIM enabled.
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 group's SCIM token should be hidden after it is created or reset, but a specific web request could still reveal it to a group admin.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.