Description
An authenticated user can import a repository from GitHub into GitLab. If a user attempts to import a repo from an attacker-controlled server, the server will reply with a Redis serialization protocol object in the nested `default_branch`. GitLab will cache this object and then deserialize it when trying to load a user session, resulting in RCE.
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 exploit/multi/http/gitlab/github_import_rce_cve_2022_2992msf undefined(github_import_rce_cve_2022_2992) > show actions ...actions...msf undefined(github_import_rce_cve_2022_2992) > set ACTION < action-name >msf undefined(github_import_rce_cve_2022_2992) > show options ...show and set options...msf undefined(github_import_rce_cve_2022_2992) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub