module
GitLab GitHub Repo Import Deserialization RCE
Disclosed | Created |
---|---|
2022-10-06 | 2023-02-15 |
Disclosed
2022-10-06
Created
2023-02-15
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.
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.
Authors
William Bowling (vakzz)
Heyder Andrade https://infosec.exchange/@heyder
RedWay Security https://infosec.exchange/@redway
Heyder Andrade https://infosec.exchange/@heyder
RedWay Security https://infosec.exchange/@redway
Platform
Linux,Unix
Architectures
cmd
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.