Unauthenticated IDOR on Users API leading to Information Disclosure of Internal Hostnames and PII
An unauthenticated IDOR in NASA's private GitLab users API let anyone bypass a filter parameter to enumerate user accounts and retrieve internal user IDs and metadata. Chaining those IDs with another unauthenticated endpoint exposed SSH key titles containing internal hostnames, data-centre FQDNs and contractor email addresses.
Originally disclosed on Bugcrowd
- Accepted in 27 days
- Fixed in 29 days
- Disclosed after 29 days
Summary by ghaddarittoo
An unauthenticated Insecure Direct Object Reference (IDOR) vulnerability was identified in the API of NASA's restricted self-hosted GitLab instance at gitlab.smce.nasa.gov. The instance was configured as private, with the base users API endpoint correctly returning 403 Forbidden to unauthenticated requests. However, a filter parameter bypass allowed unauthenticated users to enumerate any user account on the instance, retrieving internal user IDs and account metadata. By chaining the exposed user IDs with a separate unauthenticated API endpoint, an attacker could retrieve SSH key metadata for any enumerated user, including key titles containing sensitive information such as internal workstation hostnames, Fully Qualified Domain Names pointing to NASA Data Center infrastructure, and contractor email addresses.
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 users API applied its private-instance access check only to the base endpoint, so a filter parameter reached the same data without the authorisation check.
Impact
An unauthenticated attacker could enumerate all users and disclose SSH key metadata including internal workstation hostnames, data-centre FQDNs and contractor email addresses.
What the attacker needed
No authentication; network access to the GitLab instance
How it was found
- Request the base users API endpoint unauthenticated and observe 403 Forbidden.
- Add a filter parameter to the users API request to bypass the restriction.
- Enumerate user accounts and collect internal user IDs and metadata.
- Use the exposed user IDs against a separate unauthenticated API endpoint to retrieve SSH key metadata.
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.
An IDOR (Insecure Direct Object Reference) is when a website lets you reach someone else's data just by changing an identifier in a request, without checking you are allowed to see it. Here the private GitLab instance normally refused anonymous requests, but a filter parameter let anonymous visitors list every user anyway. Those user IDs then unlocked SSH key details that leaked internal machine names and email addresses.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.