Rapid7

module

GitLab User Enumeration

Disclosed
Nov 21, 2014
Created
May 30, 2018

Description

The GitLab 'internal' API is exposed unauthenticated on GitLab. This
allows the username for each SSH Key ID number to be retrieved. Users
who do not have an SSH Key cannot be enumerated in this fashion. LDAP
users, e.g. Active Directory users will also be returned. This issue
was fixed in GitLab v7.5.0 and is present from GitLab v5.0.0.

Author

Ben Campbell [email protected]

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use auxiliary/scanner/http/gitlab_user_enum
msf auxiliary(gitlab_user_enum) > show actions
...actions...
msf auxiliary(gitlab_user_enum) > set ACTION < action-name >
msf auxiliary(gitlab_user_enum) > show options
...show and set options...
msf auxiliary(gitlab_user_enum) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.