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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:WinRar 路径遍历漏洞 (CVE-2018-20250)
Description:In WinRAR versions prior to and including 5.61, There is path traversal vulnerability when crafting the filename field of the ACE format (in UNACEV2.dll). When the filename field is manipulated with specific patterns, the destination (extraction) folder is ignored, thus treating the filename as an absolute path.
Description
Herramienta para revisar si es que un payload tiene componente malicioso de acuerdo a CVE-2018-20250
Readme
# Detect-CVE-2018-20250

Este script detecta si es que uno de los archivos .rar puede tener la configuración para explotar el CVE-2018-20250.

Para esta detección se usa el comando __file__ y el comando __strings__, que están en la mayoría de las distribuciones de linux.

# Uso del script

`
./detect_winrar_exploit.sh <nombre_de_comprimido>
`

# Extracción de payload

Para extraer el payload malicioso, se necesita la aplicación acefile-unace que está en el siguiente link: https://github.com/droe/acefile

Se instala simplemente con __pip3__
`
pip3 install acefile
`
File Snapshot

[4.0K] /data/pocs/5a774ea56d4d502f9e4657290fd7e2ac804ac2f0 ├── [1.2K] detect_winrar_exploit.sh ├── [ 34K] LICENSE └── [ 578] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
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 →