Welcome to Metasploit This Month. Let us learn about the latest exploit modules of Metasploit and how they fare in our tests.
Git LFS CVE-2021-21300 RCE Module
TARGET: Git <v2.17.6, <v2.18.5, <v2.19.6, <v2.20.5, <v2.21.4, <v2.22.5, <v2.23.4 <v2.24.4, <v2.25.5, <v2.26.3, <v2.27.1, <v2.28.1, <v2.29.3, <v2.30.2
TYPE: Local
MODULE: Exploit
ANTI-MALWARE: NA
This module exploits CVE-2021-21300 vulnerability. This vulnerability is present in the above mentioned versions of Git clients. Note that the above mentioned versions should support delay-capable clean / smudge filters and symbolic links on case-insensitive file systems for this exploit to work.
When Git LFS uses clean / smudge filters it changes the checkout orderof repository files which in turn enables a Git hook to be placed in the `.git/hooks` directory. By default, the payload created by this module is automatically…
