| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in GitLab up to 8.7.0 and classified as critical. Affected by this issue is some unknown functionality of the component Impersonation. This manipulation causes access control. This vulnerability appears as CVE-2016-4340. The attack may be initiated remotely. In addition, an exploit is available. The affected component should be upgraded.
Details
A vulnerability classified as critical was found in GitLab up to 8.7.0 (Bug Tracking Software). Affected by this vulnerability is an unknown part of the component Impersonation. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
The impersonate feature in Gitlab 8.7.0, 8.6.0 through 8.6.7, 8.5.0 through 8.5.11, 8.4.0 through 8.4.9, 8.3.0 through 8.3.8, and 8.2.0 through 8.2.4 allows remote authenticated users to "log in" as any other user via unspecified vectors.
The bug was discovered 08/15/2016. The weakness was presented 01/23/2017 by Kaimi as EDB-ID 40236 as confirmed exploit (Exploit-DB). The advisory is shared at exploit-db.com. This vulnerability is known as CVE-2016-4340 since 04/27/2016. The exploitation appears to be easy. The attack can be launched remotely. A single authentication is necessary for exploitation. Technical details are unknown but a public exploit is available. MITRE ATT&CK project uses the attack technique T1068 for this issue.
A public exploit has been developed by Kaimi and been published even before and not after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 90877 (FreeBSD : gitlab -- privilege escalation via 'impersonate' feature (be72e773-1131-11e6-94fa-002590263bf5)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 370003 (GitLab "Impersonate" Feature Privilege Escalation Vulnerability).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (40236) and Tenable (90877). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.2
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Kaimi
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 90877
Nessus Name: FreeBSD : gitlab -- privilege escalation via 'impersonate' feature (be72e773-1131-11e6-94fa-002590263bf5)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
04/27/2016 🔍05/03/2016 🔍
05/04/2016 🔍
08/15/2016 🔍
08/15/2016 🔍
08/15/2016 🔍
01/23/2017 🔍
01/23/2017 🔍
01/24/2017 🔍
02/02/2025 🔍
Sources
Advisory: EDB-ID 40236Researcher: Kaimi
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-4340 (🔍)
GCVE (CVE): GCVE-0-2016-4340
GCVE (VulDB): GCVE-100-95833
OSVDB: - CVE-2016-4340 - GitLab - Privilege Escalation Issue
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 01/24/2017 08:31Updated: 02/02/2025 20:19
Changes: 01/24/2017 08:31 (73), 07/30/2020 16:04 (6), 02/02/2025 20:19 (16)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.