Attacker Value
High
(1 user assessed)
Exploitability
High
(1 user assessed)
User Interaction
None
Privileges Required
Low
Attack Vector
Network
1

CVE-2022-2992

Disclosure Date: October 17, 2022
Add MITRE ATT&CK tactics and techniques that apply to this CVE.
Initial Access
Techniques
Validation
Validated

Description

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows an authenticated user to achieve remote code execution via the Import from GitHub API endpoint.

Add Assessment

2
Ratings
Technical Analysis

Rating this as a high-value vulnerability for attackers. This does require auth to exploit, either via user credentials or a personal access token. This could either be done with stolen credentials or by creating an account if that is permitted on the target instance. Exploitation appears to be straightforward; initiate a repository import which contains the payload / RESP message and get a shell. The only caveat here is that the repository needs to be publicly available to the Gitlab instance.

The Hackerone report goes into more detail on how the RESP message actually gets executed. This one is important to patch.

CVSS V3 Severity and Metrics
Base Score:
9.9 Critical
Impact Score:
6
Exploitability Score:
3.1
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
Low
User Interaction (UI):
None
Scope (S):
Changed
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High

General Information

Vendors

  • gitlab

Products

  • gitlab

Additional Info

Technical Analysis