CVE-2016-4340
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
GitLab - 'impersonate' Feature Privilege Escalation
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gitlab | gitlab | 8.2.0 | |
| gitlab | gitlab | 8.2.1 | |
| gitlab | gitlab | 8.2.2 | |
| gitlab | gitlab | 8.2.3 | |
| gitlab | gitlab | 8.2.4 | |
| gitlab | gitlab | 8.3.0 | |
| gitlab | gitlab | 8.3.1 | |
| gitlab | gitlab | 8.3.2 | |
| gitlab | gitlab | 8.3.3 | |
| gitlab | gitlab | 8.3.4 | |
| gitlab | gitlab | 8.3.5 | |
| gitlab | gitlab | 8.3.6 | |
| gitlab | gitlab | 8.3.7 | |
| gitlab | gitlab | 8.3.8 | |
| gitlab | gitlab | 8.4.0 | |
| gitlab | gitlab | 8.4.1 | |
| gitlab | gitlab | 8.4.2 | |
| gitlab | gitlab | 8.4.3 | |
| gitlab | gitlab | 8.4.4 | |
| gitlab | gitlab | 8.4.5 | |
| gitlab | gitlab | 8.4.6 | |
| gitlab | gitlab | 8.4.7 | |
| gitlab | gitlab | 8.4.8 | |
| gitlab | gitlab | 8.4.9 | |
| gitlab | gitlab | 8.5.0 | |
| gitlab | gitlab | 8.5.1 | |
| gitlab | gitlab | 8.5.2 | |
| gitlab | gitlab | 8.5.3 | |
| gitlab | gitlab | 8.5.4 | |
| gitlab | gitlab | 8.5.5 | |
| gitlab | gitlab | 8.5.6 | |
| gitlab | gitlab | 8.5.7 | |
| gitlab | gitlab | 8.5.8 | |
| gitlab | gitlab | 8.5.9 | |
| gitlab | gitlab | 8.5.10 | |
| gitlab | gitlab | 8.5.11 | |
| gitlab | gitlab | 8.6.0 | |
| gitlab | gitlab | 8.6.1 | |
| gitlab | gitlab | 8.6.2 | |
| gitlab | gitlab | 8.6.3 | |
| gitlab | gitlab | 8.6.4 | |
| gitlab | gitlab | 8.6.5 | |
| gitlab | gitlab | 8.6.6 | |
| gitlab | gitlab | 8.6.7 | |
| gitlab | gitlab | 8.7.0 | |
References
- http://packetstormsecurity.com/files/138368/GitLab-Impersonate-Privilege-Escalation.html
- https://about.gitlab.com/2016/05/02/cve-2016-4340-patches/
- https://gitlab.com/gitlab-org/gitlab-ce/issues/15548
- https://www.exploit-db.com/exploits/40236/
- http://packetstormsecurity.com/files/138368/GitLab-Impersonate-Privilege-Escalation.html
- https://about.gitlab.com/2016/05/02/cve-2016-4340-patches/
- https://gitlab.com/gitlab-org/gitlab-ce/issues/15548
- https://www.exploit-db.com/exploits/40236/
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.