module
Git LFS Clone Command Exec
Disclosed | Created |
---|---|
Apr 26, 2021 | Aug 27, 2021 |
Disclosed
Apr 26, 2021
Created
Aug 27, 2021
Description
Git clients that support delay-capable clean / smudge
filters and symbolic links on case-insensitive file systems are
vulnerable to remote code execution while cloning a repository.
Usage of clean / smudge filters through Git LFS and a
case-insensitive file system changes the checkout order
of repository files which enables the placement of a Git hook
in the `.git/hooks` directory. By default, this module writes
a `post-checkout` script so that the payload will automatically
be executed upon checkout of the repository.
filters and symbolic links on case-insensitive file systems are
vulnerable to remote code execution while cloning a repository.
Usage of clean / smudge filters through Git LFS and a
case-insensitive file system changes the checkout order
of repository files which enables the placement of a Git hook
in the `.git/hooks` directory. By default, this module writes
a `post-checkout` script so that the payload will automatically
be executed upon checkout of the repository.
Authors
Johannes Schindelin
Matheus Tavares
Shelby Pace
Matheus Tavares
Shelby Pace
Platform
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.