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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2018-20250 PoC — WinRar 路径遍历漏洞

来源
关联漏洞
标题: WinRar 路径遍历漏洞 (CVE-2018-20250)
Description:WinRAR是一款文件压缩器。该产品支持RAR、ZIP等格式文件的压缩和解压等。 WinRar中存在目录遍历漏洞。该漏洞源于WinRAR在解压处理ACE格式的文件过程中,未对ACE文件头结构中的“filename”字段进行充分过滤。攻击者可利用该漏洞以提升的权限执行任意代码。
Description
Python tool exploiting CVE-2018-20250 found by CheckPoint folks
介绍
# ezwinrar
Python tool exploiting CVE-2018-20250 found by CheckPoint folks : https://research.checkpoint.com/extracting-code-execution-from-winrar/
> By crafting the filename field of the ACE format, the destination folder (extraction folder) is ignored, and the relative path in the filename field becomes an absolute Path. This logical bug, allows the extraction of a file to an arbitrary location which is effectively code execution.

### Usage:

`python3 ezwinrar.py /path/to/winace.exe` (default is `C:\Program File (x86)\WinAce\winace.exe`)

(1) User's startup folder:  
Since it is not possible to guess the name of the victime in advance (else use 3), the path will be like `..\Appdata\Roaming\Microsoft\Windows\Start Menu\Programs\Startup`   

(2) System startup folder:  
File will be in `C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp`. System privileges are required.

(3) Custom local location  

(4) SMB location [not implemented yet]  
文件快照

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

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