POC详情: 8fce00b1989ff39818559dd06f03316b8fa49f6e

来源
关联漏洞
标题: WinRAR 安全漏洞 (CVE-2023-38831)
描述:WinRAR是一款文件压缩器。该产品支持RAR、ZIP等格式文件的压缩和解压等。 RARLabs WinRAR 6.23之前版本存在安全漏洞。攻击者利用该漏洞可以执行任意代码。
描述
CVE-2023-38831 Proof-of-concept code
介绍
# CVE-2023-38831

This is an easy to use tool that creates a CVE-2023-38831 exploit that affects all WinRAR versions prior to 6.23.

## Here's more info about the CVE-2023-38831 exploit

> RARLAB WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. The issue occurs because a ZIP archive may include a benign file (such as an ordinary .JPG file) and also a folder that has the same name as the benign file, and the contents of the folder (which may include executable content) are processed during an attempt to access only the benign file. This was exploited in the wild in April through October 2023.

## How to build

To build the project simply run this command in the project directory.

(*MAKE SURE YOU HAVE CARGO INSTALLED BEFORE RUNNING THIS!*)

```bash
cargo build --release
```

After running this command you'll have an executable located in `target/release` called `winrar-script-exploiter`!

## How-To-Use

Simply run the executable and input all necessary valus.

Try it with some of the demo files in the *demos* folder!

## Reference

https://cve.circl.lu/cve/CVE-2023-38831

https://nvd.nist.gov/vuln/detail/CVE-2023-38831
文件快照

[4.0K] /data/pocs/8fce00b1989ff39818559dd06f03316b8fa49f6e ├── [ 10K] Cargo.lock ├── [ 258] Cargo.toml ├── [4.0K] demos │   ├── [ 96] demo │   ├── [ 32] demo.bat │   └── [ 66] demo.txt ├── [1.2K] LICENSE ├── [1.2K] README.md └── [4.0K] src └── [7.6K] main.rs 2 directories, 8 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。